Skip to content

Commit a47fa4b

Browse files
committed
ci(workflows): Fix GHA deprecation warnings
1 parent 48c1dc5 commit a47fa4b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
libtool
4040
autoconf
4141
- name: Cache yara
42-
uses: actions/cache@v3
42+
uses: actions/cache@v4
4343
id: cache
4444
with:
4545
path: |

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: windows-latest
1515
steps:
1616
- name: Install Go
17-
uses: actions/setup-go@v4
17+
uses: actions/setup-go@v5
1818
with:
1919
go-version: ${{ env.GO_VERSION }}
2020
- name: Checkout
@@ -99,7 +99,7 @@ jobs:
9999
runs-on: windows-latest
100100
steps:
101101
- name: Install Go
102-
uses: actions/setup-go@v4
102+
uses: actions/setup-go@v5
103103
with:
104104
go-version: ${{ env.GO_VERSION }}
105105
- name: Checkout
@@ -108,7 +108,7 @@ jobs:
108108
id: get_version
109109
shell: bash
110110
run: |
111-
echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)
111+
echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
112112
- name: Build
113113
shell: bash
114114
run: |
@@ -144,7 +144,7 @@ jobs:
144144
id: get_version
145145
shell: bash
146146
run: |
147-
echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)
147+
echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c2-)" >> $GITHUB_OUTPUT
148148
- uses: actions/download-artifact@v4
149149
with:
150150
name: fibratus-${{ steps.get_version.outputs.VERSION }}-amd64.msi
@@ -154,7 +154,7 @@ jobs:
154154
name: fibratus-${{ steps.get_version.outputs.VERSION }}-slim-amd64.msi
155155
path: build
156156
- name: Release
157-
uses: softprops/action-gh-release@v1
157+
uses: softprops/action-gh-release@v2
158158
if: startsWith(github.ref, 'refs/tags/')
159159
with:
160160
draft: true

0 commit comments

Comments
 (0)