summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-02-27 16:44:37 +0100
committerGravatar Nikias Bassen2024-02-27 16:44:37 +0100
commit578c78b3c23cafb6f15007c87d2a4ee0f838a049 (patch)
tree01195108958c2ab33882ffb496b20d8ddb5f981a /.github/workflows
parent51623f619c06dd704bcaafb4afeceb307ebf3193 (diff)
downloadlibplist-578c78b3c23cafb6f15007c87d2a4ee0f838a049.tar.gz
libplist-578c78b3c23cafb6f15007c87d2a4ee0f838a049.tar.bz2
[github-actions] Updated build workflow to use v4 for checkout and upload-artifact
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ae8b8dd..f34d56f 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -16,7 +16,7 @@ jobs:
- name: prepare environment
run: |
echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: autogen
@@ -36,7 +36,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libplist.tar usr
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libplist-latest_${{env.target_triplet}}
path: libplist.tar
@@ -52,7 +52,7 @@ jobs:
fi
pip3 install cython
shell: bash
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: autogen
@@ -90,7 +90,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libplist.tar usr
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libplist-latest_macOS
path: libplist.tar
@@ -127,7 +127,7 @@ jobs:
echo "dest=$dest" >> $GITHUB_ENV
echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
git config --global core.autocrlf false
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
fetch-depth: 0
- name: autogen
@@ -156,7 +156,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libplist.tar ${{ env.dest }}
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libplist-latest_${{ matrix.arch }}-${{ env.dest }}
path: libplist.tar