diff options
-rw-r--r-- | .github/workflows/build.yml | 24 |
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: | |||
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 libimobiledevice-glue | 26 | - name: fetch libimobiledevice-glue |
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 |
@@ -38,7 +38,7 @@ jobs: | |||
38 | done | 38 | done |
39 | sudo cp -r extract/* / | 39 | sudo cp -r extract/* / |
40 | sudo ldconfig | 40 | sudo ldconfig |
41 | - uses: actions/checkout@v3 | 41 | - uses: actions/checkout@v4 |
42 | - name: autogen | 42 | - name: autogen |
43 | run: ./autogen.sh PKG_CONFIG_PATH=/usr/local/lib/pkgconfig LDFLAGS="-Wl,-rpath=/usr/local/lib" | 43 | run: ./autogen.sh PKG_CONFIG_PATH=/usr/local/lib/pkgconfig LDFLAGS="-Wl,-rpath=/usr/local/lib" |
44 | - name: make | 44 | - name: make |
@@ -51,7 +51,7 @@ jobs: | |||
51 | DESTDIR=`pwd`/dest make install | 51 | DESTDIR=`pwd`/dest make install |
52 | tar -C dest -cf libirecovery.tar lib usr | 52 | tar -C dest -cf libirecovery.tar lib usr |
53 | - name: publish artifact | 53 | - name: publish artifact |
54 | uses: actions/upload-artifact@v3 | 54 | uses: actions/upload-artifact@v4 |
55 | with: | 55 | with: |
56 | name: libirecovery-latest_${{env.target_triplet}} | 56 | name: libirecovery-latest_${{env.target_triplet}} |
57 | path: libirecovery.tar | 57 | path: libirecovery.tar |
@@ -67,14 +67,14 @@ jobs: | |||
67 | fi | 67 | fi |
68 | shell: bash | 68 | shell: bash |
69 | - name: fetch libplist | 69 | - name: fetch libplist |
70 | uses: dawidd6/action-download-artifact@v2 | 70 | uses: dawidd6/action-download-artifact@v3 |
71 | with: | 71 | with: |
72 | github_token: ${{secrets.GITHUB_TOKEN}} | 72 | github_token: ${{secrets.GITHUB_TOKEN}} |
73 | workflow: build.yml | 73 | workflow: build.yml |
74 | name: libplist-latest_macOS | 74 | name: libplist-latest_macOS |
75 | repo: libimobiledevice/libplist | 75 | repo: libimobiledevice/libplist |
76 | - name: fetch libimobiledevice-glue | 76 | - name: fetch libimobiledevice-glue |
77 | uses: dawidd6/action-download-artifact@v2 | 77 | uses: dawidd6/action-download-artifact@v3 |
78 | with: | 78 | with: |
79 | github_token: ${{secrets.GITHUB_TOKEN}} | 79 | github_token: ${{secrets.GITHUB_TOKEN}} |
80 | workflow: build.yml | 80 | workflow: build.yml |
@@ -87,7 +87,7 @@ jobs: | |||
87 | tar -C extract -xvf $I | 87 | tar -C extract -xvf $I |
88 | done | 88 | done |
89 | sudo cp -r extract/* / | 89 | sudo cp -r extract/* / |
90 | - uses: actions/checkout@v3 | 90 | - uses: actions/checkout@v4 |
91 | - name: autogen | 91 | - name: autogen |
92 | run: | | 92 | run: | |
93 | SDKDIR=`xcrun --sdk macosx --show-sdk-path` | 93 | SDKDIR=`xcrun --sdk macosx --show-sdk-path` |
@@ -111,7 +111,7 @@ jobs: | |||
111 | DESTDIR=`pwd`/dest make install | 111 | DESTDIR=`pwd`/dest make install |
112 | tar -C dest -cf libirecovery.tar usr | 112 | tar -C dest -cf libirecovery.tar usr |
113 | - name: publish artifact | 113 | - name: publish artifact |
114 | uses: actions/upload-artifact@v3 | 114 | uses: actions/upload-artifact@v4 |
115 | with: | 115 | with: |
116 | name: libirecovery-latest_macOS | 116 | name: libirecovery-latest_macOS |
117 | path: libirecovery.tar | 117 | path: libirecovery.tar |
@@ -147,14 +147,14 @@ jobs: | |||
147 | echo "dest=$dest" >> $GITHUB_ENV | 147 | echo "dest=$dest" >> $GITHUB_ENV |
148 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV | 148 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV |
149 | - name: fetch libplist | 149 | - name: fetch libplist |
150 | uses: dawidd6/action-download-artifact@v2 | 150 | uses: dawidd6/action-download-artifact@v3 |
151 | with: | 151 | with: |
152 | github_token: ${{secrets.GITHUB_TOKEN}} | 152 | github_token: ${{secrets.GITHUB_TOKEN}} |
153 | workflow: build.yml | 153 | workflow: build.yml |
154 | name: libplist-latest_${{ matrix.arch }}-${{ env.dest }} | 154 | name: libplist-latest_${{ matrix.arch }}-${{ env.dest }} |
155 | repo: libimobiledevice/libplist | 155 | repo: libimobiledevice/libplist |
156 | - name: fetch libimobiledevice-glue | 156 | - name: fetch libimobiledevice-glue |
157 | uses: dawidd6/action-download-artifact@v2 | 157 | uses: dawidd6/action-download-artifact@v3 |
158 | with: | 158 | with: |
159 | github_token: ${{secrets.GITHUB_TOKEN}} | 159 | github_token: ${{secrets.GITHUB_TOKEN}} |
160 | workflow: build.yml | 160 | workflow: build.yml |
@@ -167,7 +167,7 @@ jobs: | |||
167 | tar -C extract -xvf $I | 167 | tar -C extract -xvf $I |
168 | done | 168 | done |
169 | cp -r extract/* / | 169 | cp -r extract/* / |
170 | - uses: actions/checkout@v3 | 170 | - uses: actions/checkout@v4 |
171 | - name: autogen | 171 | - name: autogen |
172 | run: ./autogen.sh CC=gcc CXX=g++ | 172 | run: ./autogen.sh CC=gcc CXX=g++ |
173 | - name: make | 173 | - name: make |
@@ -180,7 +180,7 @@ jobs: | |||
180 | DESTDIR=`pwd`/dest make install | 180 | DESTDIR=`pwd`/dest make install |
181 | tar -C dest -cf libirecovery.tar ${{ env.dest }} | 181 | tar -C dest -cf libirecovery.tar ${{ env.dest }} |
182 | - name: publish artifact | 182 | - name: publish artifact |
183 | uses: actions/upload-artifact@v3 | 183 | uses: actions/upload-artifact@v4 |
184 | with: | 184 | with: |
185 | name: libirecovery-latest_${{ matrix.arch }}-${{ env.dest }} | 185 | name: libirecovery-latest_${{ matrix.arch }}-${{ env.dest }} |
186 | path: libirecovery.tar | 186 | path: libirecovery.tar |