summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-04-27 02:04:12 +0200
committerGravatar Nikias Bassen2024-04-27 02:04:12 +0200
commitf2d3d40487a5209cb7dfae5367fb71f3940e3ab7 (patch)
tree5142145f357e25ec399415725a45ac4c68eb6e16
parent80d5f46cea8f7b8692c0d1f076b52195ba766eef (diff)
downloadlibimobiledevice-f2d3d40487a5209cb7dfae5367fb71f3940e3ab7.tar.gz
libimobiledevice-f2d3d40487a5209cb7dfae5367fb71f3940e3ab7.tar.bz2
[github-actions] Update actions in build workflow to newer versions
-rw-r--r--.github/workflows/build.yml30
1 files changed, 15 insertions, 15 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index b740952..584f2e9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -17,21 +17,21 @@ jobs:
17 run: | 17 run: |
18 echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV 18 echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
19 - name: fetch libplist 19 - name: fetch libplist
20 uses: dawidd6/action-download-artifact@v2 20 uses: dawidd6/action-download-artifact@v3
21 with: 21 with:
22 github_token: ${{secrets.GITHUB_TOKEN}} 22 github_token: ${{secrets.GITHUB_TOKEN}}
23 workflow: build.yml 23 workflow: build.yml
24 name: libplist-latest_${{env.target_triplet}} 24 name: libplist-latest_${{env.target_triplet}}
25 repo: libimobiledevice/libplist 25 repo: libimobiledevice/libplist
26 - name: fetch libusbmuxd 26 - name: fetch libusbmuxd
27 uses: dawidd6/action-download-artifact@v2 27 uses: dawidd6/action-download-artifact@v3
28 with: 28 with:
29 github_token: ${{secrets.GITHUB_TOKEN}} 29 github_token: ${{secrets.GITHUB_TOKEN}}
30 workflow: build.yml 30 workflow: build.yml
31 name: libusbmuxd-latest_${{env.target_triplet}} 31 name: libusbmuxd-latest_${{env.target_triplet}}
32 repo: libimobiledevice/libusbmuxd 32 repo: libimobiledevice/libusbmuxd
33 - name: fetch libimobiledevice-glue 33 - name: fetch libimobiledevice-glue
34 uses: dawidd6/action-download-artifact@v2 34 uses: dawidd6/action-download-artifact@v3
35 with: 35 with:
36 github_token: ${{secrets.GITHUB_TOKEN}} 36 github_token: ${{secrets.GITHUB_TOKEN}}
37 workflow: build.yml 37 workflow: build.yml
@@ -45,7 +45,7 @@ jobs:
45 done 45 done
46 sudo cp -r extract/* / 46 sudo cp -r extract/* /
47 sudo ldconfig 47 sudo ldconfig
48 - uses: actions/checkout@v3 48 - uses: actions/checkout@v4
49 with: 49 with:
50 fetch-depth: 0 50 fetch-depth: 0
51 - name: autogen 51 - name: autogen
@@ -60,7 +60,7 @@ jobs:
60 DESTDIR=`pwd`/dest make install 60 DESTDIR=`pwd`/dest make install
61 tar -C dest -cf libimobiledevice.tar usr 61 tar -C dest -cf libimobiledevice.tar usr
62 - name: publish artifact 62 - name: publish artifact
63 uses: actions/upload-artifact@v3 63 uses: actions/upload-artifact@v4
64 with: 64 with:
65 name: libimobiledevice-latest_${{env.target_triplet}} 65 name: libimobiledevice-latest_${{env.target_triplet}}
66 path: libimobiledevice.tar 66 path: libimobiledevice.tar
@@ -77,21 +77,21 @@ jobs:
77 pip3 install cython 77 pip3 install cython
78 shell: bash 78 shell: bash
79 - name: fetch libplist 79 - name: fetch libplist
80 uses: dawidd6/action-download-artifact@v2 80 uses: dawidd6/action-download-artifact@v3
81 with: 81 with:
82 github_token: ${{secrets.GITHUB_TOKEN}} 82 github_token: ${{secrets.GITHUB_TOKEN}}
83 workflow: build.yml 83 workflow: build.yml
84 name: libplist-latest_macOS 84 name: libplist-latest_macOS
85 repo: libimobiledevice/libplist 85 repo: libimobiledevice/libplist
86 - name: fetch libusbmuxd 86 - name: fetch libusbmuxd
87 uses: dawidd6/action-download-artifact@v2 87 uses: dawidd6/action-download-artifact@v3
88 with: 88 with:
89 github_token: ${{secrets.GITHUB_TOKEN}} 89 github_token: ${{secrets.GITHUB_TOKEN}}
90 workflow: build.yml 90 workflow: build.yml
91 name: libusbmuxd-latest_macOS 91 name: libusbmuxd-latest_macOS
92 repo: libimobiledevice/libusbmuxd 92 repo: libimobiledevice/libusbmuxd
93 - name: fetch libimobiledevice-glue 93 - name: fetch libimobiledevice-glue
94 uses: dawidd6/action-download-artifact@v2 94 uses: dawidd6/action-download-artifact@v3
95 with: 95 with:
96 github_token: ${{secrets.GITHUB_TOKEN}} 96 github_token: ${{secrets.GITHUB_TOKEN}}
97 workflow: build.yml 97 workflow: build.yml
@@ -104,7 +104,7 @@ jobs:
104 tar -C extract -xvf $I 104 tar -C extract -xvf $I
105 done 105 done
106 sudo cp -r extract/* / 106 sudo cp -r extract/* /
107 - uses: actions/checkout@v3 107 - uses: actions/checkout@v4
108 - name: install additional requirements 108 - name: install additional requirements
109 run: | 109 run: |
110 mkdir -p lib 110 mkdir -p lib
@@ -156,7 +156,7 @@ jobs:
156 DESTDIR=`pwd`/dest make install 156 DESTDIR=`pwd`/dest make install
157 tar -C dest -cf libimobiledevice.tar usr 157 tar -C dest -cf libimobiledevice.tar usr
158 - name: publish artifact 158 - name: publish artifact
159 uses: actions/upload-artifact@v3 159 uses: actions/upload-artifact@v4
160 with: 160 with:
161 name: libimobiledevice-latest_macOS 161 name: libimobiledevice-latest_macOS
162 path: libimobiledevice.tar 162 path: libimobiledevice.tar
@@ -193,21 +193,21 @@ jobs:
193 echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV 193 echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV
194 git config --global core.autocrlf false 194 git config --global core.autocrlf false
195 - name: fetch libplist 195 - name: fetch libplist
196 uses: dawidd6/action-download-artifact@v2 196 uses: dawidd6/action-download-artifact@v3
197 with: 197 with:
198 github_token: ${{secrets.GITHUB_TOKEN}} 198 github_token: ${{secrets.GITHUB_TOKEN}}
199 workflow: build.yml 199 workflow: build.yml
200 name: libplist-latest_${{ matrix.arch }}-${{ env.dest }} 200 name: libplist-latest_${{ matrix.arch }}-${{ env.dest }}
201 repo: libimobiledevice/libplist 201 repo: libimobiledevice/libplist
202 - name: fetch libusbmuxd 202 - name: fetch libusbmuxd
203 uses: dawidd6/action-download-artifact@v2 203 uses: dawidd6/action-download-artifact@v3
204 with: 204 with:
205 github_token: ${{secrets.GITHUB_TOKEN}} 205 github_token: ${{secrets.GITHUB_TOKEN}}
206 workflow: build.yml 206 workflow: build.yml
207 name: libusbmuxd-latest_${{ matrix.arch }}-${{ env.dest }} 207 name: libusbmuxd-latest_${{ matrix.arch }}-${{ env.dest }}
208 repo: libimobiledevice/libusbmuxd 208 repo: libimobiledevice/libusbmuxd
209 - name: fetch libimobiledevice-glue 209 - name: fetch libimobiledevice-glue
210 uses: dawidd6/action-download-artifact@v2 210 uses: dawidd6/action-download-artifact@v3
211 with: 211 with:
212 github_token: ${{secrets.GITHUB_TOKEN}} 212 github_token: ${{secrets.GITHUB_TOKEN}}
213 workflow: build.yml 213 workflow: build.yml
@@ -220,7 +220,7 @@ jobs:
220 tar -C extract -xvf $I 220 tar -C extract -xvf $I
221 done 221 done
222 cp -r extract/* / 222 cp -r extract/* /
223 - uses: actions/checkout@v3 223 - uses: actions/checkout@v4
224 - name: autogen 224 - name: autogen
225 run: ./autogen.sh CC=gcc CXX=g++ --enable-debug 225 run: ./autogen.sh CC=gcc CXX=g++ --enable-debug
226 - name: make 226 - name: make
@@ -233,7 +233,7 @@ jobs:
233 DESTDIR=`pwd`/dest make install 233 DESTDIR=`pwd`/dest make install
234 tar -C dest -cf libimobiledevice.tar ${{ env.dest }} 234 tar -C dest -cf libimobiledevice.tar ${{ env.dest }}
235 - name: publish artifact 235 - name: publish artifact
236 uses: actions/upload-artifact@v3 236 uses: actions/upload-artifact@v4
237 with: 237 with:
238 name: libimobiledevice-latest_${{ matrix.arch }}-${{ env.dest }} 238 name: libimobiledevice-latest_${{ matrix.arch }}-${{ env.dest }}
239 path: libimobiledevice.tar 239 path: libimobiledevice.tar