Skip to content

Commit d47d953

Browse files
braiamrhutsAMD
authored andcommitted
Include root directory that matches file name
Github's generated release files include the root directory when publishing releases. Make sure this action also has this characteristic.
1 parent 6d7bec0 commit d47d953

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/publish-header.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- name: bundle header
1313
run: |
14-
mv amf/public/include AMF
15-
tar czf AMF-headers.tar.gz AMF/
14+
mkdir amf-headers
15+
mv amf/public/include amf-headers/AMF
16+
tar czf AMF-headers.tar.gz amf-headers/
1617
- name: Release
1718
uses: softprops/action-gh-release@v1
1819
if: startsWith(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)