Skip to content

Commit

Permalink
test(BUILD-1563): release
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-carsique-sonarsource committed May 6, 2022
1 parent 880cf41 commit cee0183
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
upload-artifact: true
upload-release-assets: true
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
# GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
GPG_PRIVATE_KEY_PASSPHRASE: ${{ secrets.GPG_PRIVATE_KEY_PASSPHRASE }}
GPG_PRIVATE_KEY_BASE64: ${{ secrets.GPG_PRIVATE_KEY_BASE64 }}
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ on:
required: false
description: "Required when 'upload-artifact' is true"
# GITHUB_TOKEN:
# required: ${{ upload-release-assets }}
# required: false
# description: "Required when 'upload-release-assets' is true"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ runs:
if: inputs.upload-release-assets == 'true' && env.GITHUB_TOKEN && startsWith(github.ref, 'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ env.GITHUB_TOKEN }}
repo_token: ${{ github.token }}
file_glob: true
file: "${{ inputs.filename }}?(.asc)"
tag: ${{ github.ref }}
Expand Down

0 comments on commit cee0183

Please sign in to comment.