This is an automated email from the ASF dual-hosted git repository. bchapuis pushed a commit to branch release-0.7.4 in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
commit 1c73706df0b3c5f30e351f17f758b4b7d55ec927 Author: Bertil Chapuis <[email protected]> AuthorDate: Tue Sep 3 00:58:25 2024 +0200 Fix workflow variables --- .github/workflows/candidate.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/candidate.yml b/.github/workflows/candidate.yml index 80192512..88ae40af 100644 --- a/.github/workflows/candidate.yml +++ b/.github/workflows/candidate.yml @@ -35,11 +35,17 @@ jobs: - name: Build candidate run: mvn install -B + - name: Set up GPG + run: | + echo "${{ secrets.BAREMAPS_GPG_SECRET_KEY }}" | gpg --batch --import + gpg --list-keys + env: + GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }} + - name: Sign and hash candidate shell: bash run: | cd ./baremaps-cli/target - echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --import --batch mv apache-baremaps-${{ steps.variables.outputs.mvn_version }}-incubating-src.tar.gz apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz shasum -a 512 "./apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz" > "./apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz.sha512" @@ -65,11 +71,8 @@ jobs: gh release upload --clobber "${{ steps.variables.outputs.git_tag }}" ./baremaps-cli/target/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-bin.tar.gz.asc - name: Publish candidate on Apache - env: - APACHE_USERNAME: ${{ secrets.INCUBATOR_SVN_DEV_USERNAME }} - APACHE_PASSWORD: ${{ secrets.INCUBATOR_SVN_DEV_PASSWORD }} run: | - svn --username $APACHE_USERNAME --password $APACHE_PASSWORD import -m "Apache Baremaps ${{ steps.variables.outputs.git_version }} (incubating)" ./baremaps-cli/target/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz https://dist.apache.org/repos/dist/dev/incubator/baremaps/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz + svn --username ${{ secrets.INCUBATOR_SVN_DEV_USERNAME }} --password ${{ secrets.INCUBATOR_SVN_DEV_PASSWORD }} import -m "Apache Baremaps ${{ steps.variables.outputs.git_version }} (incubating)" ./baremaps-cli/target/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz https://dist.apache.org/repos/dist/dev/incubator/baremaps/apache-baremaps-${{ steps.variables.outputs.git_version }}-incubating-src.tar.gz - name: Publish candidate on Maven env:
