Skip to content

Commit

Permalink
ci: pin version of upload-release-action (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
derevnjuk authored Mar 4, 2024
1 parent 9197b50 commit ca64598
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ jobs:
run: npm run build
env:
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}

- name: Pack artifacts
run: npm pack

- uses: svenstaro/upload-release-action@v2
- uses: svenstaro/upload-release-action@v2.7.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./brightsec-cli-*
Expand Down Expand Up @@ -117,14 +117,14 @@ jobs:
run: .\tools\scripts\build-msi.ps1
shell: pwsh

- uses: svenstaro/upload-release-action@v2
- uses: svenstaro/upload-release-action@v2.7.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ startsWith(matrix.os, 'win') && '.\bin\cli.exe' || './bin/cli' }}
asset_name: ${{ format('bright-cli-{0}-x64{1}', matrix.target, startsWith(matrix.os, 'win') && '.exe' || '') }}
tag: ${{ github.ref }}

- uses: svenstaro/upload-release-action@v2
- uses: svenstaro/upload-release-action@v2.7.0
if: startsWith(matrix.os, 'win')
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit ca64598

Please sign in to comment.