Skip to content

Commit

Permalink
chore: upgrade checkout action (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
orubin authored Nov 26, 2024
1 parent 8904f65 commit 252e7f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}
Expand All @@ -26,7 +26,7 @@ jobs:
runs-on: ubuntu-latest
needs: install-deps
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Pack artifacts
run: npm pack

- uses: svenstaro/upload-release-action@2.7.0
- uses: svenstaro/upload-release-action@2.9.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./brightsec-cli-*
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
runs-on: ${{ matrix.os }}
container: ${{ matrix.container }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}
Expand Down Expand Up @@ -121,14 +121,14 @@ jobs:
run: .\tools\scripts\build-msi.ps1
shell: pwsh

- uses: svenstaro/upload-release-action@2.7.0
- uses: svenstaro/upload-release-action@2.9.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@2.7.0
- uses: svenstaro/upload-release-action@2.9.0
if: startsWith(matrix.os, 'win')
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -140,7 +140,7 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ env.TARGET_REF }}
token: ${{ secrets.GPR_TOKEN }}
Expand Down

0 comments on commit 252e7f0

Please sign in to comment.