Skip to content

Commit

Permalink
Update tag creation for latest mac os (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmook authored Jun 4, 2024
1 parent bd5f942 commit acd0864
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,10 @@ jobs:
- name: Build
run: ./gradlew build -x check -x lintVitalRelease --scan

- name: Prepare tag properties (*nix)
if: runner.os != 'Windows' && startsWith(github.ref, 'refs/tags/')
- name: Prepare tag properties
run: |
echo "${{secrets.GPG_SIGNING_SECRET_KEY_RING_FILE_BASE64}}" > $HOME/.gradle/sonatype-appmattus-keys.gpg.b64
base64 -d $HOME/.gradle/sonatype-appmattus-keys.gpg.b64 > $HOME/.gradle/sonatype-appmattus-keys.gpg
echo "${{secrets.GPG_GRADLE_PROPERTIES}}" > $HOME/.gradle/gradle.properties
- name: Prepare tag properties (windows)
if: runner.os == 'Windows' && startsWith(github.ref, 'refs/tags/')
run: |
echo "${{secrets.GPG_SIGNING_SECRET_KEY_RING_FILE_BASE64}}" > $HOME/.gradle/sonatype-appmattus-keys.gpg.b64
certutil -decode $HOME/.gradle/sonatype-appmattus-keys.gpg.b64 $HOME/.gradle/sonatype-appmattus-keys.gpg
base64 -d -i $HOME/.gradle/sonatype-appmattus-keys.gpg.b64 -o $HOME/.gradle/sonatype-appmattus-keys.gpg
echo "${{secrets.GPG_GRADLE_PROPERTIES}}" > $HOME/.gradle/gradle.properties
- name: Upload tag
Expand Down

0 comments on commit acd0864

Please sign in to comment.