Skip to content

Commit 3263e4b

Browse files
authored
Fix Linux CI (#60)
* Use actions/checkout@v4 in CI * Use actions/upload-artifact@v4 in CI * Use actions/download-artifact@v4 in CI * Use ubuntu-22.04 * Restrict push trigger to master branch
1 parent 87f9401 commit 3263e4b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: CI
22

33
on:
44
push:
5+
branches: [ master ]
56
pull_request:
67
branches: [ master ]
78

@@ -12,11 +13,11 @@ jobs:
1213
fail-fast: false
1314
matrix:
1415
os:
15-
- ubuntu-latest
16+
- ubuntu-22.04
1617
- macOS-latest
1718
runs-on: ${{ matrix.os }}
1819
steps:
19-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@v4
2021
- name: Install dependencies
2122
shell: bash
2223
run: |
@@ -75,7 +76,7 @@ jobs:
7576
- name: Create package
7677
run: make package
7778
- name: Upload package artifact
78-
uses: actions/upload-artifact@v3
79+
uses: actions/upload-artifact@v4
7980
with:
8081
name: package-${{ runner.os }}
8182
path: |
@@ -94,7 +95,7 @@ jobs:
9495
steps:
9596

9697
- name: Download a single artifact
97-
uses: actions/download-artifact@v3
98+
uses: actions/download-artifact@v4
9899
with:
99100
name: package-${{ runner.os }}
100101
path: package

0 commit comments

Comments
 (0)