Skip to content

Commit 7caeaa5

Browse files
committed
Try use action-gh-release v2
1 parent 9f2c2aa commit 7caeaa5

File tree

1 file changed

+6
-20
lines changed

1 file changed

+6
-20
lines changed

.github/workflows/LuaWatcom.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -101,23 +101,9 @@ jobs:
101101
- name: Download Artifacts
102102
uses: actions/download-artifact@v4
103103

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-
env:
115-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116-
run: |
117-
TAG_NAME="${GITHUB_REF#refs/tags/}" # Extract the tag name
118-
gh release create "$TAG_NAME" \
119-
--draft \
120-
--title "$TAG_NAME" \
121-
--notes "Lua for Watcom builds from $TAG_NAME" \
122-
"Lua Binaries/Lua Exe.zip"
123-
"Lua Binaries/Lua Img.zip"
104+
- uses: softprops/action-gh-release@v2
105+
if: startsWith(github.ref, 'refs/tags/')
106+
with:
107+
files: |
108+
Lua Binaries/Lua Exe.zip
109+
Lua Binaries/Lua Img.zip

0 commit comments

Comments
 (0)