Skip to content

Commit

Permalink
include toplevel directory in tarballs
Browse files Browse the repository at this point in the history
  • Loading branch information
felfert committed Jun 9, 2023
1 parent 970dfd7 commit 006bafb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,9 @@ jobs:
;;
esac
cp -av ${miscfiles} artifacts/
tgz=${{ matrix.assetprefix }}-${{ github.ref_name }}-${{ matrix.job.assetname }}.tar.gz
tar cvzCf artifacts ${tgz} .
afname="${{ matrix.assetprefix }}-${{ github.ref_name }}-${{ matrix.job.assetname }}"
mv artifacts "${afname}"
tar cvzf ${tgz} "${afname}.tar.gz"
echo "${GITHUB_REF}" > github-ref
echo "${GITHUB_SHA}" > commithash
- name: Save artifacts
Expand Down

0 comments on commit 006bafb

Please sign in to comment.