Skip to content

Commit

Permalink
Bump up actions/upload-artifact and actions/download-artifact to v4 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
CodePrometheus authored Sep 19, 2024
1 parent 4f94a25 commit 5767fc3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/plugin-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, macos-12]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
submodules: true
- name: Build
run: make -C test/plugins build
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
name: Upload Test Base
with:
name: test-tools-${{ matrix.os }}
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: test-tools-ubuntu-latest
path: test/plugins/dist
Expand All @@ -126,15 +126,15 @@ jobs:
fi
- name: Run Test
run: bash test/plugins/run.sh ${{ matrix.case }}
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
name: Upload Agent
if: ${{ failure() }}
with:
path: test/plugins/workspace
name: test-plugins-workspace-${{ matrix.case }}-ubuntu

test-on-macos:
if: always()
if: false
name: gin-macos
needs:
- build
Expand All @@ -144,7 +144,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: test-tools-macos-12
path: test/plugins/dist
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
fi
- name: Run Test
run: bash test/plugins/run.sh short_versions_gin
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
name: Upload Agent
if: ${{ failure() }}
with:
Expand All @@ -194,12 +194,11 @@ jobs:
name: Plugin Tests
needs:
- test
- test-on-macos
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Merge Requirement
run: |
if [[ ${{ needs.test.result }} != 'success' || ${{ needs.test-on-macos.result }} != 'success' ]]; then
if [[ ${{ needs.test.result }} != 'success' ]]; then
exit -1
fi
2 changes: 1 addition & 1 deletion .github/workflows/skywalking-go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
strategy:
fail-fast: true
matrix:
os: [ ubuntu-latest, macos-13, windows-latest ]
os: [ ubuntu-latest, windows-latest ]
go-version: [ 1.19 ]
runs-on: ${{ matrix.os }}
timeout-minutes: 60
Expand Down

0 comments on commit 5767fc3

Please sign in to comment.