Skip to content

Commit

Permalink
[github-actions] Update checkout and upload-artifacts to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Jan 15, 2024
1 parent 30e678d commit 2d87841
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 @@ -34,7 +34,7 @@ jobs:
done
sudo cp -r extract/* /
sudo ldconfig
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: autogen
run: ./autogen.sh PKG_CONFIG_PATH=/usr/local/lib/pkgconfig LDFLAGS="-Wl,-rpath=/usr/local/lib"
- name: make
Expand All @@ -47,7 +47,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libusbmuxd.tar usr
- name: publish artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: libusbmuxd-latest_${{env.target_triplet}}
path: libusbmuxd.tar
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
tar -C extract -xvf $I
done
sudo cp -r extract/* /
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: autogen
run: |
SDKDIR=`xcrun --sdk macosx --show-sdk-path`
Expand All @@ -107,7 +107,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libusbmuxd.tar usr
- name: publish artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: libusbmuxd-latest_macOS
path: libusbmuxd.tar
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
tar -C extract -xvf $I
done
cp -r extract/* /
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: autogen
run: ./autogen.sh CC=gcc CXX=g++
- name: make
Expand All @@ -177,7 +177,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libusbmuxd.tar ${{ env.dest }}
- name: publish artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: libusbmuxd-latest_${{ matrix.arch }}-${{ env.dest }}
path: libusbmuxd.tar

0 comments on commit 2d87841

Please sign in to comment.