diff options
author | FormerLurker <hochgebe@gmail.com> | 2021-11-13 20:48:22 +0300 |
---|---|---|
committer | FormerLurker <hochgebe@gmail.com> | 2021-11-13 20:48:22 +0300 |
commit | bce40db1d586426d4a45ae4dd2e0b4b2ec9411a5 (patch) | |
tree | f08b83bc283b5d9c972d0d0d11e3d1e75f011aaf | |
parent | 450cddad024a6ac776e282f554eac25ee8df60e0 (diff) |
Reorder pack actions
-rw-r--r-- | .github/workflows/ccpp.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index fda6218..1087cf1 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -213,14 +213,13 @@ jobs: run: ${{ steps.cmake_and_ninja.outputs.cmake_dir }}/cmake --install build --prefix instdir --strip - - name: Pack tar - working-directory: instdir - run: ${{ steps.cmake_and_ninja.outputs.cmake_dir }}/cmake -E tar cJfv "${{ matrix.config.tar_artifact }}" . - - name: Pack zip working-directory: instdir - run: ${{ steps.cmake_and_ninja.outputs.cmake_dir }}/cmake -E tar "cvf" "${{ matrix.config.zip_artifact }}" --format=zip . + run: ${{ steps.cmake_and_ninja.outputs.cmake_dir }}/cmake -E tar "cvf" "../${{ matrix.config.zip_artifact }}" --format=zip . + - name: Pack tar + working-directory: instdir + run: ${{ steps.cmake_and_ninja.outputs.cmake_dir }}/cmake -E tar cJfv "../${{ matrix.config.tar_artifact }}" . - name: Upload tar uses: actions/upload-artifact@v1 |