Skip to content

Commit

Permalink
github actions:
Browse files Browse the repository at this point in the history
* upgrade upload-artifact action to v4 as v1 was deprectated long time
  go and now removed, and make sure artifact names are distinct as
  required by the new version.

* upgrade checkout action to v4 as v2 is deprecated
  • Loading branch information
sterin committed Sep 14, 2024
1 parent 9c152b7 commit 0a5057f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-posix-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
cp build/abc build/libabc.a staging/
- name: Upload pacakge artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: package
name: package-cmake-${{ matrix.os }}-${{ matrix.use_namespace }}
path: staging/
6 changes: 3 additions & 3 deletions .github/workflows/build-posix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
cp abc libabc.a staging/
- name: Upload pacakge artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: package
name: package-posix-${{ matrix.os }}-${{ matrix.use_namespace }}
path: staging/
6 changes: 3 additions & 3 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
steps:

- name: Git Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
copy UpgradeLog.htm staging/
- name: Upload pacakge artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: package
name: package-windows
path: staging/

0 comments on commit 0a5057f

Please sign in to comment.