File tree Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Expand file tree Collapse file tree 1 file changed +19
-5
lines changed Original file line number Diff line number Diff line change 18
18
target : wasm32-wasip1
19
19
- name : Build
20
20
run : make plugin
21
- - name : Release
22
- uses : softprops/action-gh-release@v2
23
- with :
24
- files : plugin/**
25
-
21
+
22
+ - name : Create draft release
23
+ run : |
24
+ set +e
25
+ echo "Creating release $VERSION"
26
+ gh release create $VERSION --draft --title "$VERSION"
27
+ env :
28
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
+ VERSION : ${{ github.event.inputs.version }}
30
+
31
+ - name : Push build artifact to release
32
+ run : |
33
+ set +e
34
+ zip -j plugin/plugin-wasm-rust-demo-$VERSION.zip .traefik.yml plugin/plugin.wasm LICENSE
35
+ gh release upload $VERSION ./plugin/plugin-wasm-rust-demo-$VERSION.zip --clobber
36
+ env :
37
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
38
+ VERSION : ${{ github.event.inputs.version }}
39
+
26
40
You can’t perform that action at this time.
0 commit comments