diff options
| -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 ae8b8dd..f34d56f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml | |||
| @@ -16,7 +16,7 @@ jobs: | |||
| 16 | - name: prepare environment | 16 | - name: prepare environment |
| 17 | run: | | 17 | run: | |
| 18 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV | 18 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV |
| 19 | - uses: actions/checkout@v3 | 19 | - uses: actions/checkout@v4 |
| 20 | with: | 20 | with: |
| 21 | fetch-depth: 0 | 21 | fetch-depth: 0 |
| 22 | - name: autogen | 22 | - name: autogen |
| @@ -36,7 +36,7 @@ jobs: | |||
| 36 | DESTDIR=`pwd`/dest make install | 36 | DESTDIR=`pwd`/dest make install |
| 37 | tar -C dest -cf libplist.tar usr | 37 | tar -C dest -cf libplist.tar usr |
| 38 | - name: publish artifact | 38 | - name: publish artifact |
| 39 | uses: actions/upload-artifact@v3 | 39 | uses: actions/upload-artifact@v4 |
| 40 | with: | 40 | with: |
| 41 | name: libplist-latest_${{env.target_triplet}} | 41 | name: libplist-latest_${{env.target_triplet}} |
| 42 | path: libplist.tar | 42 | path: libplist.tar |
| @@ -52,7 +52,7 @@ jobs: | |||
| 52 | fi | 52 | fi |
| 53 | pip3 install cython | 53 | pip3 install cython |
| 54 | shell: bash | 54 | shell: bash |
| 55 | - uses: actions/checkout@v3 | 55 | - uses: actions/checkout@v4 |
| 56 | with: | 56 | with: |
| 57 | fetch-depth: 0 | 57 | fetch-depth: 0 |
| 58 | - name: autogen | 58 | - name: autogen |
| @@ -90,7 +90,7 @@ jobs: | |||
| 90 | DESTDIR=`pwd`/dest make install | 90 | DESTDIR=`pwd`/dest make install |
| 91 | tar -C dest -cf libplist.tar usr | 91 | tar -C dest -cf libplist.tar usr |
| 92 | - name: publish artifact | 92 | - name: publish artifact |
| 93 | uses: actions/upload-artifact@v3 | 93 | uses: actions/upload-artifact@v4 |
| 94 | with: | 94 | with: |
| 95 | name: libplist-latest_macOS | 95 | name: libplist-latest_macOS |
| 96 | path: libplist.tar | 96 | path: libplist.tar |
| @@ -127,7 +127,7 @@ jobs: | |||
| 127 | echo "dest=$dest" >> $GITHUB_ENV | 127 | echo "dest=$dest" >> $GITHUB_ENV |
| 128 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV | 128 | echo "target_triplet=`gcc -dumpmachine`" >> $GITHUB_ENV |
| 129 | git config --global core.autocrlf false | 129 | git config --global core.autocrlf false |
| 130 | - uses: actions/checkout@v3 | 130 | - uses: actions/checkout@v4 |
| 131 | with: | 131 | with: |
| 132 | fetch-depth: 0 | 132 | fetch-depth: 0 |
| 133 | - name: autogen | 133 | - name: autogen |
| @@ -156,7 +156,7 @@ jobs: | |||
| 156 | DESTDIR=`pwd`/dest make install | 156 | DESTDIR=`pwd`/dest make install |
| 157 | tar -C dest -cf libplist.tar ${{ env.dest }} | 157 | tar -C dest -cf libplist.tar ${{ env.dest }} |
| 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: libplist-latest_${{ matrix.arch }}-${{ env.dest }} | 161 | name: libplist-latest_${{ matrix.arch }}-${{ env.dest }} |
| 162 | path: libplist.tar | 162 | path: libplist.tar |
