diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index bde74c5..e35f096 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -52,7 +52,7 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: 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 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} @@ -62,7 +62,7 @@ jobs: - name: Upload Artifact as Release Asset uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: 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 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} asset_path: extracted-jar/*.jar