Skip to content

Commit

Permalink
Give up trying to fix zip format (exclude directory with file name) a…
Browse files Browse the repository at this point in the history
…nd revert.
  • Loading branch information
FormerLurker committed Nov 13, 2021
1 parent da99bff commit 3270837
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ jobs:

- 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 }}" "../" .
run: ${{ steps.cmake_and_ninja.outputs.cmake_dir }}/cmake -E tar cJfv "../${{ matrix.config.tar_artifact }}" .

- name: Upload tar
uses: actions/upload-artifact@v1
Expand Down

0 comments on commit 3270837

Please sign in to comment.