We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d47d953 commit a6fca4aCopy full SHA for a6fca4a
1 file changed
.github/workflows/publish-header.yml
@@ -1,7 +1,7 @@
1
name: Publish Header
2
3
on:
4
- push:
+ push:
5
tags: v*
6
7
jobs:
@@ -11,11 +11,11 @@ jobs:
11
- uses: actions/checkout@v3
12
- name: bundle header
13
run: |
14
- mkdir amf-headers
15
- mv amf/public/include amf-headers/AMF
16
- tar czf AMF-headers.tar.gz amf-headers/
+ mkdir amf-headers-${{ github.ref_name }
+ mv amf/public/include amf-headers-${{ github.ref_name }}/AMF
+ tar czf AMF-headers.tar.gz amf-headers-${{ github.ref_name }}/
17
- name: Release
18
uses: softprops/action-gh-release@v1
19
if: startsWith(github.ref, 'refs/tags/')
20
with:
21
- files: AMF-headers.tar.gz
+ files: AMF-headers-${{ github.ref_name }}.tar.gz
0 commit comments