Skip to content

Commit c7be2c2

Browse files
author
Will
committed
upgrade github actions
1 parent 6e5898c commit c7be2c2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/build.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ jobs:
88
golang:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
with:
1313
submodules: true
14-
- uses: actions/setup-go@v4
14+
- uses: actions/setup-go@v5
1515
with:
1616
go-version: "1.17.13"
1717
- run: patch -d go -p1 < go-runtime.patch
1818
- run: bash ./make.bash
1919
working-directory: go/src
2020
- run: tar -czf golang.tar.gz go
21-
- uses: actions/upload-artifact@v3
21+
- uses: actions/upload-artifact@v4
2222
with:
2323
name: golang.tar.gz
2424
path: golang.tar.gz
@@ -38,15 +38,15 @@ jobs:
3838
goos: linux
3939
runs-on: ubuntu-latest
4040
steps:
41-
- uses: actions/checkout@v3
41+
- uses: actions/checkout@v4
4242
with:
4343
fetch-depth: 0
4444
submodules: true
4545
- uses: ./.github/actions/setup-xcc
4646
with:
4747
target: ${{ matrix.target }}
4848
version: f9cb5162
49-
- uses: actions/download-artifact@v3
49+
- uses: actions/download-artifact@v4
5050
with:
5151
name: golang.tar.gz
5252
- run: tar -xzf golang.tar.gz -C /opt
@@ -65,7 +65,7 @@ jobs:
6565
env:
6666
TARGET: ${{ matrix.target }}
6767
OUTPUT: ${{ matrix.goos }}-${{ matrix.goarch }}
68-
- uses: actions/upload-artifact@v3
68+
- uses: actions/upload-artifact@v4
6969
with:
7070
name: libkflow-${{ matrix.target }}.a
7171
path: libkflow-${{ matrix.target }}.a
@@ -74,7 +74,7 @@ jobs:
7474
publish:
7575
runs-on: ubuntu-latest
7676
steps:
77-
- uses: actions/download-artifact@v3
77+
- uses: actions/download-artifact@v4
7878
with:
7979
path: artifacts
8080
- uses: actions/github-script@v6
@@ -91,7 +91,7 @@ jobs:
9191
9292
core.setOutput('version', version);
9393
id: create-tag
94-
- uses: softprops/action-gh-release@v1
94+
- uses: softprops/action-gh-release@v2
9595
with:
9696
tag_name: ${{ steps.create-tag.outputs.version }}
9797
files: artifacts/**/*

0 commit comments

Comments
 (0)