Skip to content

Commit

Permalink
[github-actions] Updated build workflow to use v4 for checkout and up…
Browse files Browse the repository at this point in the history
…load-artifact
  • Loading branch information
nikias committed Feb 27, 2024
1 parent 51623f6 commit 578c78b
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 @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 578c78b

Please sign in to comment.