Skip to content

Commit

Permalink
Merge pull request #43 from ngrok/nikolay/release-add-token
Browse files Browse the repository at this point in the history
add more tokens
  • Loading branch information
nikolay-ngrok authored Feb 7, 2024
2 parents 0ee4fbd + c89d95f commit 1240f8e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
distribution: 'temurin'
cache: 'maven'
- name: Verification
run: mvn --batch-mode verify
env:
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
run: mvn --batch-mode verify

udeps:
name: Udeps
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-perform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ jobs:
distribution: "temurin"
- name: Run mvn package for native
run: mvn --batch-mode --projects ngrok-java-native --also-make package --activate-profiles ci-native --define 'ngrok.native.classifier=${{ matrix.config.artifact }}' --define 'ngrok.native.target=${{ matrix.config.target }}' ${{ matrix.config.pkgFlags }}
env:
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -137,6 +139,7 @@ jobs:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_PASSPHRASE }}
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}

deploy-github:
if: ${{ github.event.inputs.deploy }}
Expand All @@ -161,3 +164,4 @@ jobs:
run: mvn --batch-mode deploy --activate-profiles ci-distro,github-distro --fail-at-end
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ jobs:
run: mvn --batch-mode release:prepare -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}

0 comments on commit 1240f8e

Please sign in to comment.