File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 8888 name : ' Lua Binaries'
8989 path : dist/*.zip
9090 compression-level : 0
91+
92+ Draft :
93+ name : Draft Release
94+ needs : Watcom
95+ runs-on : ubuntu-latest
96+ if : startsWith(github.ref, 'refs/tags')
97+
98+ steps :
99+ - name : Download Artifacts
100+ uses : actions/download-artifact@v3
101+ with :
102+ name : ' Lua Binaries'
103+
104+ - name : Unzip Artifact
105+ run : |
106+ unzip "Lua Binaries.zip" -d extracted
107+
108+ - name : Install GitHub CLI
109+ run : |
110+ sudo apt-get update && sudo apt-get install -y gh
111+
112+ - name : Create Draft Release
113+ env :
114+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
115+ run : |
116+ TAG_NAME="${GITHUB_REF#refs/tags/}" # Extract the tag name
117+ gh release create "$TAG_NAME" \
118+ --draft \
119+ --title "$TAG_NAME" \
120+ --notes "Lua for Watcom builds from $TAG_NAME" \
121+ extracted/*.zip
You can’t perform that action at this time.
0 commit comments