summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-03-23 03:27:03 +0100
committerGravatar Nikias Bassen2024-03-23 03:27:03 +0100
commit6aba9de9ebc9aa14683ff0774ccd87b7e539485a (patch)
tree37dea63edd2b651bdf1adbdf81814b74da5b53e5 /.github/workflows
parent90cd5efc8fd8ce31ede6121d691324ca2d588436 (diff)
downloadlibirecovery-6aba9de9ebc9aa14683ff0774ccd87b7e539485a.tar.gz
libirecovery-6aba9de9ebc9aa14683ff0774ccd87b7e539485a.tar.bz2
[github-actions] Updated build workflow to use newer action versions
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml24
1 files changed, 12 insertions, 12 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f2fbefc..9d36f2a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,14 +17,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
@@ -38,7 +38,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
@@ -51,7 +51,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libirecovery.tar lib usr
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libirecovery-latest_${{env.target_triplet}}
path: libirecovery.tar
@@ -67,14 +67,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
@@ -87,7 +87,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`
@@ -111,7 +111,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libirecovery.tar usr
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libirecovery-latest_macOS
path: libirecovery.tar
@@ -147,14 +147,14 @@ jobs:
echo "dest=$dest" >> $GITHUB_ENV
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_${{ 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
@@ -167,7 +167,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
@@ -180,7 +180,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libirecovery.tar ${{ env.dest }}
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libirecovery-latest_${{ matrix.arch }}-${{ env.dest }}
path: libirecovery.tar