File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed
Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,25 @@ 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/')
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
106114 with :
107- permissions : write-all
108- files : |
109- Lua Binaries/Lua Exe.zip
110- Lua Binaries/Lua Img.zip
115+ permission : write-all
116+ env :
117+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
118+ run : |
119+ TAG_NAME="${GITHUB_REF#refs/tags/}" # Extract the tag name
120+ gh release create "$TAG_NAME" \
121+ --draft \
122+ --title "$TAG_NAME" \
123+ --notes "Lua for Watcom builds from $TAG_NAME" \
124+ "Lua Binaries/Lua Exe.zip"
125+ "Lua Binaries/Lua Img.zip"
You can’t perform that action at this time.
0 commit comments