We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6af1992 commit 82e94d6Copy full SHA for 82e94d6
1 file changed
.github/workflows/release.yml
@@ -4,7 +4,6 @@ on:
4
push:
5
tags:
6
- 'v*'
7
- workflow_dispatch:
8
9
permissions:
10
contents: write
@@ -22,6 +21,12 @@ jobs:
22
21
- name: Create Zip File
23
run: zip -r cache-everything-${GITHUB_REF_NAME}.zip plugin/ -x "*.git*" -x "node_modules/*"
24
+ - name: List files
25
+ run: ls -l
26
+
27
+ - name: Define GITHUB_REF_NAME
28
+ run: echo "GITHUB_REF_NAME=${GITHUB_REF##*/}" >> $GITHUB_ENV
29
30
- name: Create Release
31
id: create_release
32
uses: actions/create-release@v1
@@ -42,4 +47,4 @@ jobs:
42
47
upload_url: ${{ steps.create_release.outputs.upload_url }}
43
48
asset_path: ./cache-everything-${GITHUB_REF_NAME}.zip
44
49
asset_name: cache-everything-${GITHUB_REF_NAME}.zip
45
- asset_content_type: application/zip
50
+ asset_content_type: application/zip
0 commit comments