diff options
| author | 2024-05-02 19:21:10 +0200 | |
|---|---|---|
| committer | 2024-05-02 19:21:10 +0200 | |
| commit | 6f1457747ef74dd61c8a7f99902048ab0ca446ff (patch) | |
| tree | 508f4076f3b6a8856b1eec25763e661f2d6f1294 | |
| parent | a738daedcbb9ef9128f9e77a927a3fe5d70a457b (diff) | |
| download | ideviceinstaller-6f1457747ef74dd61c8a7f99902048ab0ca446ff.tar.gz ideviceinstaller-6f1457747ef74dd61c8a7f99902048ab0ca446ff.tar.bz2 | |
[github-actions] Updated actions in build workflow
| -rw-r--r-- | .github/workflows/build.yml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65384cf..70ed09c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -17,28 +17,28 @@ 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 |
| 38 | name: libimobiledevice-glue-latest_${{env.target_triplet}} | 38 | name: libimobiledevice-glue-latest_${{env.target_triplet}} |
| 39 | repo: libimobiledevice/libimobiledevice-glue | 39 | repo: libimobiledevice/libimobiledevice-glue |
| 40 | - name: fetch libimobiledevice | 40 | - name: fetch libimobiledevice |
| 41 | uses: dawidd6/action-download-artifact@v2 | 41 | uses: dawidd6/action-download-artifact@v3 |
| 42 | with: | 42 | with: |
| 43 | github_token: ${{secrets.GITHUB_TOKEN}} | 43 | github_token: ${{secrets.GITHUB_TOKEN}} |
| 44 | workflow: build.yml | 44 | workflow: build.yml |
| @@ -53,7 +53,7 @@ jobs: | |||
| 53 | rm -rf extract/lib | 53 | rm -rf extract/lib |
| 54 | sudo cp -r extract/* / | 54 | sudo cp -r extract/* / |
| 55 | sudo ldconfig | 55 | sudo ldconfig |
| 56 | - uses: actions/checkout@v3 | 56 | - uses: actions/checkout@v4 |
| 57 | with: | 57 | with: |
| 58 | fetch-depth: 0 | 58 | fetch-depth: 0 |
| 59 | - name: autogen | 59 | - name: autogen |
| @@ -68,7 +68,7 @@ jobs: | |||
| 68 | DESTDIR=`pwd`/dest make install | 68 | DESTDIR=`pwd`/dest make install |
| 69 | tar -C dest -cf ideviceinstaller.tar usr | 69 | tar -C dest -cf ideviceinstaller.tar usr |
| 70 | - name: publish artifact | 70 | - name: publish artifact |
| 71 | uses: actions/upload-artifact@v3 | 71 | uses: actions/upload-artifact@v4 |
| 72 | with: | 72 | with: |
| 73 | name: ideviceinstaller-latest_${{env.target_triplet}} | 73 | name: ideviceinstaller-latest_${{env.target_triplet}} |
| 74 | path: ideviceinstaller.tar | 74 | path: ideviceinstaller.tar |
| @@ -84,28 +84,28 @@ jobs: | |||
| 84 | fi | 84 | fi |
| 85 | shell: bash | 85 | shell: bash |
| 86 | - name: fetch libplist | 86 | - name: fetch libplist |
| 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: libplist-latest_macOS | 91 | name: libplist-latest_macOS |
| 92 | repo: libimobiledevice/libplist | 92 | repo: libimobiledevice/libplist |
| 93 | - name: fetch libusbmuxd | 93 | - name: fetch libusbmuxd |
| 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 |
| 98 | name: libusbmuxd-latest_macOS | 98 | name: libusbmuxd-latest_macOS |
| 99 | repo: libimobiledevice/libusbmuxd | 99 | repo: libimobiledevice/libusbmuxd |
| 100 | - name: fetch libimobiledevice-glue | 100 | - name: fetch libimobiledevice-glue |
| 101 | uses: dawidd6/action-download-artifact@v2 | 101 | uses: dawidd6/action-download-artifact@v3 |
| 102 | with: | 102 | with: |
| 103 | github_token: ${{secrets.GITHUB_TOKEN}} | 103 | github_token: ${{secrets.GITHUB_TOKEN}} |
| 104 | workflow: build.yml | 104 | workflow: build.yml |
| 105 | name: libimobiledevice-glue-latest_macOS | 105 | name: libimobiledevice-glue-latest_macOS |
| 106 | repo: libimobiledevice/libimobiledevice-glue | 106 | repo: libimobiledevice/libimobiledevice-glue |
| 107 | - name: fetch libimobiledevice | 107 | - name: fetch libimobiledevice |
| 108 | uses: dawidd6/action-download-artifact@v2 | 108 | uses: dawidd6/action-download-artifact@v3 |
| 109 | with: | 109 | with: |
| 110 | github_token: ${{secrets.GITHUB_TOKEN}} | 110 | github_token: ${{secrets.GITHUB_TOKEN}} |
| 111 | workflow: build.yml | 111 | workflow: build.yml |
| @@ -118,7 +118,7 @@ jobs: | |||
| 118 | tar -C extract -xvf $I | 118 | tar -C extract -xvf $I |
| 119 | done | 119 | done |
| 120 | sudo cp -r extract/* / | 120 | sudo cp -r extract/* / |
| 121 | - uses: actions/checkout@v3 | 121 | - uses: actions/checkout@v4 |
| 122 | - name: install additional requirements | 122 | - name: install additional requirements |
| 123 | run: | | 123 | run: | |
| 124 | SDKDIR=`xcrun --sdk macosx --show-sdk-path 2>/dev/null` | 124 | SDKDIR=`xcrun --sdk macosx --show-sdk-path 2>/dev/null` |
| @@ -169,7 +169,7 @@ jobs: | |||
| 169 | DESTDIR=`pwd`/dest make install | 169 | DESTDIR=`pwd`/dest make install |
| 170 | tar -C dest -cf ideviceinstaller.tar usr | 170 | tar -C dest -cf ideviceinstaller.tar usr |
| 171 | - name: publish artifact | 171 | - name: publish artifact |
| 172 | uses: actions/upload-artifact@v3 | 172 | uses: actions/upload-artifact@v4 |
| 173 | with: | 173 | with: |
| 174 | name: ideviceinstaller-latest_macOS | 174 | name: ideviceinstaller-latest_macOS |
| 175 | path: ideviceinstaller.tar | 175 | path: ideviceinstaller.tar |
| @@ -206,28 +206,28 @@ jobs: | |||
| 206 | echo "dest=$dest" >> $GITHUB_ENV | 206 | echo "dest=$dest" >> $GITHUB_ENV |
| 207 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV | 207 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV |
| 208 | - name: fetch libplist | 208 | - name: fetch libplist |
| 209 | uses: dawidd6/action-download-artifact@v2 | 209 | uses: dawidd6/action-download-artifact@v3 |
| 210 | with: | 210 | with: |
| 211 | github_token: ${{secrets.GITHUB_TOKEN}} | 211 | github_token: ${{secrets.GITHUB_TOKEN}} |
| 212 | workflow: build.yml | 212 | workflow: build.yml |
| 213 | name: libplist-latest_${{ matrix.arch }}-${{ env.dest }} | 213 | name: libplist-latest_${{ matrix.arch }}-${{ env.dest }} |
| 214 | repo: libimobiledevice/libplist | 214 | repo: libimobiledevice/libplist |
| 215 | - name: fetch libusbmuxd | 215 | - name: fetch libusbmuxd |
| 216 | uses: dawidd6/action-download-artifact@v2 | 216 | uses: dawidd6/action-download-artifact@v3 |
| 217 | with: | 217 | with: |
| 218 | github_token: ${{secrets.GITHUB_TOKEN}} | 218 | github_token: ${{secrets.GITHUB_TOKEN}} |
| 219 | workflow: build.yml | 219 | workflow: build.yml |
| 220 | name: libusbmuxd-latest_${{ matrix.arch }}-${{ env.dest }} | 220 | name: libusbmuxd-latest_${{ matrix.arch }}-${{ env.dest }} |
| 221 | repo: libimobiledevice/libusbmuxd | 221 | repo: libimobiledevice/libusbmuxd |
| 222 | - name: fetch libimobiledevice-glue | 222 | - name: fetch libimobiledevice-glue |
| 223 | uses: dawidd6/action-download-artifact@v2 | 223 | uses: dawidd6/action-download-artifact@v3 |
| 224 | with: | 224 | with: |
| 225 | github_token: ${{secrets.GITHUB_TOKEN}} | 225 | github_token: ${{secrets.GITHUB_TOKEN}} |
| 226 | workflow: build.yml | 226 | workflow: build.yml |
| 227 | name: libimobiledevice-glue-latest_${{ matrix.arch }}-${{ env.dest }} | 227 | name: libimobiledevice-glue-latest_${{ matrix.arch }}-${{ env.dest }} |
| 228 | repo: libimobiledevice/libimobiledevice-glue | 228 | repo: libimobiledevice/libimobiledevice-glue |
| 229 | - name: fetch libimobiledevice | 229 | - name: fetch libimobiledevice |
| 230 | uses: dawidd6/action-download-artifact@v2 | 230 | uses: dawidd6/action-download-artifact@v3 |
| 231 | with: | 231 | with: |
| 232 | github_token: ${{secrets.GITHUB_TOKEN}} | 232 | github_token: ${{secrets.GITHUB_TOKEN}} |
| 233 | workflow: build.yml | 233 | workflow: build.yml |
| @@ -240,7 +240,7 @@ jobs: | |||
| 240 | tar -C extract -xvf $I | 240 | tar -C extract -xvf $I |
| 241 | done | 241 | done |
| 242 | cp -r extract/* / | 242 | cp -r extract/* / |
| 243 | - uses: actions/checkout@v3 | 243 | - uses: actions/checkout@v4 |
| 244 | - name: install additional requirements | 244 | - name: install additional requirements |
| 245 | run: | | 245 | run: | |
| 246 | FILENAME="libzip-1.7.1-static.tar.bz2" | 246 | FILENAME="libzip-1.7.1-static.tar.bz2" |
| @@ -262,7 +262,7 @@ jobs: | |||
| 262 | DESTDIR=`pwd`/dest make install | 262 | DESTDIR=`pwd`/dest make install |
| 263 | tar -C dest -cf ideviceinstaller.tar ${{ env.dest }} | 263 | tar -C dest -cf ideviceinstaller.tar ${{ env.dest }} |
| 264 | - name: publish artifact | 264 | - name: publish artifact |
| 265 | uses: actions/upload-artifact@v3 | 265 | uses: actions/upload-artifact@v4 |
| 266 | with: | 266 | with: |
| 267 | name: ideviceinstaller-latest_${{ matrix.arch }}-${{ env.dest }} | 267 | name: ideviceinstaller-latest_${{ matrix.arch }}-${{ env.dest }} |
| 268 | path: ideviceinstaller.tar | 268 | path: ideviceinstaller.tar |
