Skip to content

Commit

Permalink
[github-actions] Update build workflow to use newer versions of downl…
Browse files Browse the repository at this point in the history
…oad-artifact, checkout, and upload-artifact actions
  • Loading branch information
nikias committed Apr 2, 2024
1 parent 2387d8e commit 032bc1f
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
run: |
echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
- name: fetch libplist
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
name: libplist-latest_${{env.target_triplet}}
repo: libimobiledevice/libplist
- name: fetch libimobiledevice-glue
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
Expand All @@ -34,7 +34,7 @@ jobs:
done
sudo cp -r extract/* /
sudo ldconfig
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- 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@v3
uses: actions/upload-artifact@v4
with:
name: libusbmuxd-latest_${{env.target_triplet}}
path: libusbmuxd.tar
Expand All @@ -63,14 +63,14 @@ jobs:
fi
shell: bash
- name: fetch libplist
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
name: libplist-latest_macOS
repo: libimobiledevice/libplist
- name: fetch libimobiledevice-glue
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
Expand All @@ -83,7 +83,7 @@ jobs:
tar -C extract -xvf $I
done
sudo cp -r extract/* /
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- 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@v3
uses: actions/upload-artifact@v4
with:
name: libusbmuxd-latest_macOS
path: libusbmuxd.tar
Expand Down Expand Up @@ -144,14 +144,14 @@ jobs:
echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
git config --global core.autocrlf false
- name: fetch libplist
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
name: libplist-latest_${{ matrix.arch }}-${{ env.dest }}
repo: libimobiledevice/libplist
- name: fetch libimobiledevice-glue
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
Expand All @@ -164,7 +164,7 @@ jobs:
tar -C extract -xvf $I
done
cp -r extract/* /
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- 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@v3
uses: actions/upload-artifact@v4
with:
name: libusbmuxd-latest_${{ matrix.arch }}-${{ env.dest }}
path: libusbmuxd.tar

0 comments on commit 032bc1f

Please sign in to comment.