summaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-03-06 04:06:10 +0100
committerGravatar Nikias Bassen2024-03-06 04:06:10 +0100
commitd9f069e634dd3e8015097335621dc36d768eae87 (patch)
tree4bda4c638f962f4fa2c105995c9b2232ff2b670e /.github/workflows/build.yml
parentfc10c88395f3fefd3b30f3ef9354c45cef7136a6 (diff)
downloadlibimobiledevice-glue-d9f069e634dd3e8015097335621dc36d768eae87.tar.gz
libimobiledevice-glue-d9f069e634dd3e8015097335621dc36d768eae87.tar.bz2
[github-actions] Updated build workflow to use v4 for checkout and upload-artifact
Diffstat (limited to '.github/workflows/build.yml')
-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 25b239f..d6b01dd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -30,7 +30,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
@@ -43,7 +43,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libimobiledevice-glue.tar usr
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libimobiledevice-glue-latest_${{env.target_triplet}}
path: libimobiledevice-glue.tar
@@ -72,7 +72,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`
@@ -96,7 +96,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libimobiledevice-glue.tar usr
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libimobiledevice-glue-latest_macOS
path: libimobiledevice-glue.tar
@@ -145,7 +145,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
@@ -158,7 +158,7 @@ jobs:
DESTDIR=`pwd`/dest make install
tar -C dest -cf libimobiledevice-glue.tar ${{ env.dest }}
- name: publish artifact
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: libimobiledevice-glue-latest_${{ matrix.arch }}-${{ env.dest }}
path: libimobiledevice-glue.tar