Skip to content

Commit

Permalink
upgrade github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Will committed Aug 15, 2024
1 parent 6e5898c commit e0733f9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
golang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-go@v4
Expand All @@ -18,7 +18,7 @@ jobs:
- run: bash ./make.bash
working-directory: go/src
- run: tar -czf golang.tar.gz go
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: golang.tar.gz
path: golang.tar.gz
Expand All @@ -38,15 +38,15 @@ jobs:
goos: linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: ./.github/actions/setup-xcc
with:
target: ${{ matrix.target }}
version: f9cb5162
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: golang.tar.gz
- run: tar -xzf golang.tar.gz -C /opt
Expand All @@ -65,7 +65,7 @@ jobs:
env:
TARGET: ${{ matrix.target }}
OUTPUT: ${{ matrix.goos }}-${{ matrix.goarch }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: libkflow-${{ matrix.target }}.a
path: libkflow-${{ matrix.target }}.a
Expand All @@ -74,7 +74,7 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: artifacts
- uses: actions/github-script@v6
Expand Down

0 comments on commit e0733f9

Please sign in to comment.