Skip to content

Commit

Permalink
feat: Attempt gpg.
Browse files Browse the repository at this point in the history
  • Loading branch information
moreirasantos committed Jun 10, 2024
1 parent 1786881 commit a11404b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ jobs:
- run: echo -n "$SIGNING_PRIVATE_KEY_B64" | base64 --decode | gpg --batch --passphrase $SIGNING_PASSWORD --import
- run: gpg --batch --pinentry-mode=loopback --passphrase $SIGNING_PASSWORD --export-secret-keys > secring.gpg
- run: export SIGNING_SECRET_KEY_RING_FILE=&(realpath secring.gpg)
# - name: Download build artifacts
# uses: actions/download-artifact@v4
# with:
# name: build
# - run: gradle wrapper --no-daemon
# - run: ./gradlew publishAllPublicationsToSonatypeRepository -x check --no-daemon
# - name: Create release
# env:
# tag: ${{ github.ref_name }}
# run: |
# export tag=$(cat version.txt)
# gh release create "$tag" \
# --repo="$GITHUB_REPOSITORY" \
# --title="${GITHUB_REPOSITORY#*/} $tag" \
# --generate-notes
- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: build
- run: gradle wrapper --no-daemon
- run: ./gradlew publishAllPublicationsToSonatypeRepository -x check --no-daemon
- name: Create release
env:
tag: ${{ github.ref_name }}
run: |
export tag=$(cat version.txt)
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${GITHUB_REPOSITORY#*/} $tag" \
--generate-notes

0 comments on commit a11404b

Please sign in to comment.