Skip to content

Commit a6fca4a

Browse files
Braiam PeguerorhutsAMD
authored andcommitted
Add version to the directory and resulting file
1 parent d47d953 commit a6fca4a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Publish Header
22

33
on:
4-
push:
4+
push:
55
tags: v*
66

77
jobs:
@@ -11,11 +11,11 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- name: bundle header
1313
run: |
14-
mkdir amf-headers
15-
mv amf/public/include amf-headers/AMF
16-
tar czf AMF-headers.tar.gz amf-headers/
14+
mkdir amf-headers-${{ github.ref_name }
15+
mv amf/public/include amf-headers-${{ github.ref_name }}/AMF
16+
tar czf AMF-headers.tar.gz amf-headers-${{ github.ref_name }}/
1717
- name: Release
1818
uses: softprops/action-gh-release@v1
1919
if: startsWith(github.ref, 'refs/tags/')
2020
with:
21-
files: AMF-headers.tar.gz
21+
files: AMF-headers-${{ github.ref_name }}.tar.gz

0 commit comments

Comments
 (0)