Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bischoffz committed Jun 14, 2024
1 parent af551c5 commit 46376b1
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,35 +37,35 @@ jobs:
gpg-private-key: ${{ secrets.GPG_SECRET_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Build and Deploy Taskit
run: mvn clean deploy -Pjavadoc,sign --file pom.xml
env:
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSWORD }}
# - name: Build and Deploy Taskit
# run: mvn clean deploy -Pjavadoc,sign --file pom.xml
# env:
# MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
# MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
# MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSWORD }}

- name: Get Version
id: version-string
run: |
echo "version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout --file pom.xml)" >> "$GITHUB_ENV"
echo "taskit_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout --file pom.xml)" >> "$GITHUB_OUTPUT"
- name: Make Taskit Release
uses: ncipollo/[email protected]
with:
artifacts: "core/target/core-${{ env.version }}*,protobuf/target/protobuf-${{ env.version }}*"
name: "v${{ env.version }}"
tag: "v${{ env.version }}"
generateReleaseNotes: true
skipIfReleaseExists: true
# - name: Make Taskit Release
# uses: ncipollo/[email protected]
# with:
# artifacts: "core/target/core-${{ env.version }}*,protobuf/target/protobuf-${{ env.version }}*"
# name: "v${{ env.version }}"
# tag: "v${{ env.version }}"
# generateReleaseNotes: true
# skipIfReleaseExists: true

update-gcm-taskit:
needs: release
runs-on: ubuntu-latest
permissions:
contents: write
env:
VERSION: ${{ needs.release.outputs.gcm_taskit_version }}
VERSION: ${{ needs.release.outputs.taskit_version }}
steps:
- name: Checkout GCM Taskit
uses: actions/checkout@v4
Expand Down

0 comments on commit 46376b1

Please sign in to comment.