Skip to content

Commit

Permalink
Merge pull request #287 from solarwinds/cc/NH-97728
Browse files Browse the repository at this point in the history
NH-97728: make default token available in workflow environment
  • Loading branch information
cleverchuk authored Dec 9, 2024
2 parents c97a2b0 + 01491c6 commit 7fe6363
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ permissions:
env:
GITHUB_USERNAME: ${{ github.actor }}
PROD_BUCKET: ${{ secrets.PROD_BUCKET }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
maven_release:
Expand All @@ -52,7 +53,6 @@ jobs:
- name: Publish
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The secrets are for publishing the build artifacts to the Maven Central.
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
Expand Down Expand Up @@ -117,8 +117,6 @@ jobs:
upload_file_to_release "$release_id" "agent/build/libs/solarwinds-apm-agent.jar"
upload_file_to_release "$release_id" "custom/shared/src/main/resources/solarwinds-apm-config.json"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
s3-prod-upload: # this job uploads the jar and default config json to prod s3
if: inputs.run_s3_upload
Expand Down Expand Up @@ -384,7 +382,6 @@ jobs:
upload_file_to_release "$release_id" "agent/build/libs/solarwinds-apm-agent-signed.jar"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VERSION: ${{ steps.set_version.outputs.version }}

docker_hub:
Expand Down

0 comments on commit 7fe6363

Please sign in to comment.