diff options
| author | 2023-10-07 01:51:49 +0200 | |
|---|---|---|
| committer | 2023-10-07 01:51:49 +0200 | |
| commit | 04c023317f616b4b9588cce8c2da3174a7d2086b (patch) | |
| tree | 29bcf9c474659c2c387799f5a09b9842b80e44c7 | |
| parent | ba2fb48cfa4d62d86bc22913c87a05ffac5319c2 (diff) | |
| download | libimobiledevice-04c023317f616b4b9588cce8c2da3174a7d2086b.tar.gz libimobiledevice-04c023317f616b4b9588cce8c2da3174a7d2086b.tar.bz2 | |
[github-actions] Update checkout and upload-artifact to v3
| -rw-r--r-- | .github/workflows/build.yml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2032545..b13cfc1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/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@v2 | 48 | - uses: actions/checkout@v3 |
| 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@v2 | 63 | uses: actions/upload-artifact@v3 |
| 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 |
| @@ -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@v2 | 107 | - uses: actions/checkout@v3 |
| 108 | - name: install additional requirements | 108 | - name: install additional requirements |
| 109 | run: | | 109 | run: | |
| 110 | mkdir -p lib | 110 | mkdir -p lib |
| @@ -146,7 +146,7 @@ jobs: | |||
| 146 | DESTDIR=`pwd`/dest make install | 146 | DESTDIR=`pwd`/dest make install |
| 147 | tar -C dest -cf libimobiledevice.tar usr | 147 | tar -C dest -cf libimobiledevice.tar usr |
| 148 | - name: publish artifact | 148 | - name: publish artifact |
| 149 | uses: actions/upload-artifact@v2 | 149 | uses: actions/upload-artifact@v3 |
| 150 | with: | 150 | with: |
| 151 | name: libimobiledevice-latest_macOS | 151 | name: libimobiledevice-latest_macOS |
| 152 | path: libimobiledevice.tar | 152 | path: libimobiledevice.tar |
| @@ -210,7 +210,7 @@ jobs: | |||
| 210 | tar -C extract -xvf $I | 210 | tar -C extract -xvf $I |
| 211 | done | 211 | done |
| 212 | cp -r extract/* / | 212 | cp -r extract/* / |
| 213 | - uses: actions/checkout@v2 | 213 | - uses: actions/checkout@v3 |
| 214 | - name: autogen | 214 | - name: autogen |
| 215 | run: ./autogen.sh CC=gcc CXX=g++ --enable-debug | 215 | run: ./autogen.sh CC=gcc CXX=g++ --enable-debug |
| 216 | - name: make | 216 | - name: make |
| @@ -223,7 +223,7 @@ jobs: | |||
| 223 | DESTDIR=`pwd`/dest make install | 223 | DESTDIR=`pwd`/dest make install |
| 224 | tar -C dest -cf libimobiledevice.tar ${{ env.dest }} | 224 | tar -C dest -cf libimobiledevice.tar ${{ env.dest }} |
| 225 | - name: publish artifact | 225 | - name: publish artifact |
| 226 | uses: actions/upload-artifact@v2 | 226 | uses: actions/upload-artifact@v3 |
| 227 | with: | 227 | with: |
| 228 | name: libimobiledevice-latest_${{ matrix.arch }}-${{ env.dest }} | 228 | name: libimobiledevice-latest_${{ matrix.arch }}-${{ env.dest }} |
| 229 | path: libimobiledevice.tar | 229 | path: libimobiledevice.tar |
