File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed
Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,24 @@ jobs:
101101 - name : Download Artifacts
102102 uses : actions/download-artifact@v4
103103
104- - uses : softprops/action-gh-release@v2
105- if : startsWith(github.ref, 'refs/tags/')
106- with :
107- permissions : write-all
108- files : |
109- Lua Binaries/Lua Exe.zip
110- Lua Binaries/Lua Img.zip
104+ - name : List Directory
105+ run : |
106+ pwd
107+ ls -R
108+
109+ - name : Install GitHub CLI
110+ run : |
111+ sudo apt-get update && sudo apt-get install -y gh
112+
113+ - name : Create Draft Release
114+ permission : write-all
115+ env :
116+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
117+ run : |
118+ TAG_NAME="${GITHUB_REF#refs/tags/}" # Extract the tag name
119+ gh release create "$TAG_NAME" \
120+ --draft \
121+ --title "$TAG_NAME" \
122+ --notes "Lua for Watcom builds from $TAG_NAME" \
123+ "Lua Binaries/Lua Exe.zip"
124+ "Lua Binaries/Lua Img.zip"
You can’t perform that action at this time.
0 commit comments