Skip to content

Commit

Permalink
ci(workflows): Fix GHA deprecation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitstack committed Sep 13, 2024
1 parent 48c1dc5 commit a47fa4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
libtool
autoconf
- name: Cache yara
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout
Expand All @@ -108,7 +108,7 @@ jobs:
id: get_version
shell: bash
run: |
echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)
echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
- name: Build
shell: bash
run: |
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
id: get_version
shell: bash
run: |
echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)
echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
- uses: actions/download-artifact@v4
with:
name: fibratus-${{ steps.get_version.outputs.VERSION }}-amd64.msi
Expand All @@ -154,7 +154,7 @@ jobs:
name: fibratus-${{ steps.get_version.outputs.VERSION }}-slim-amd64.msi
path: build
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
draft: true
Expand Down

0 comments on commit a47fa4b

Please sign in to comment.