You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
30
+
ls
31
+
echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)"
32
+
20
33
- name: Create Release
21
34
id: create_release
22
35
uses: actions/create-release@v1
23
36
env:
24
37
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
+
VERSION: ${{ github.ref }}
25
39
with:
26
40
tag_name: ${{ github.ref }}
27
-
release_name: Release ${{ github.ref }}
41
+
release_name: ${{ github.ref }}
28
42
draft: false
29
43
prerelease: false
30
-
- name: Upload Release Asset
31
-
id: upload-release-asset
44
+
45
+
- name: Upload zip file
46
+
id: upload-zip
32
47
uses: actions/upload-release-asset@v1
33
48
env:
34
49
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
50
with:
36
-
upload_url: ${{ steps.create_release.outputs.upload_url }}# This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
0 commit comments