-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|