Skip to content

Commit

Permalink
remove manually passing github token
Browse files Browse the repository at this point in the history
  • Loading branch information
jschneidereit committed Feb 5, 2025
1 parent 8a13a6d commit 285f3b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,10 @@ jobs:
mvn -v
echo "HYPER_VERSION=$(mvn help:evaluate -Dexpression=hyperapi.version -q -DforceStdout)" >> $GITHUB_ENV
- name: Call Hyper Download workflow
uses: ./.github/workflows/hyper-download.yml
uses: ./.github/workflows/hyperd.yml
with:
hyper_version: ${{ env.HYPER_VERSION }}
target_directory: ${{ env.CURRENT_DIR }}
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Cache hyperd
uses: actions/cache@v3
with:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/hyperd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ on:
target_directory:
required: true
type: string
secrets:
GITHUB_TOKEN:
required: true

jobs:
download-hyperd:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@ jobs:
mvn -v
echo "HYPER_VERSION=$(mvn help:evaluate -Dexpression=hyperapi.version -q -DforceStdout)" >> $GITHUB_ENV
- name: Call Hyper Download workflow
uses: ./.github/workflows/hyper-download.yml
uses: ./.github/workflows/hyperd.yml
with:
hyper_version: ${{ env.HYPER_VERSION }}
target_directory: ${{ env.CURRENT_DIR }}
secrets:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set version
run: mvn versions:set --no-transfer-progress -DnewVersion=${{ github.event.release.tag_name }}
- name: Build with Maven
Expand Down

0 comments on commit 285f3b5

Please sign in to comment.