build: remove zip
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
pacman -S --noconfirm nodejs mingw-w64-gcc cmake ninja ccache zip git base-devel
|
pacman -S --noconfirm nodejs mingw-w64-gcc cmake ninja ccache git base-devel
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -90,14 +90,12 @@ jobs:
|
|||||||
echo "Found EXE: $EXE"
|
echo "Found EXE: $EXE"
|
||||||
mkdir -p release
|
mkdir -p release
|
||||||
cp "$EXE" release/
|
cp "$EXE" release/
|
||||||
if [ -d "res" ]; then cp res/*.json release/; fi
|
|
||||||
cd release && zip -j ../hex-unlocked.zip *
|
|
||||||
|
|
||||||
- name: Upload Artifact
|
- name: Upload Artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: runner-build
|
name: runner-build
|
||||||
path: hex-unlocked.zip
|
path: release/
|
||||||
|
|
||||||
- name: Finalize Version and Push Tag
|
- name: Finalize Version and Push Tag
|
||||||
if: ${{ github.event_name == 'push' && success() }}
|
if: ${{ github.event_name == 'push' && success() }}
|
||||||
@@ -109,7 +107,7 @@ jobs:
|
|||||||
if: ${{ github.event_name == 'push' && success() }}
|
if: ${{ github.event_name == 'push' && success() }}
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
files: hex-unlocked.zip
|
files: release/*
|
||||||
tag_name: ${{ steps.calculate-version.outputs.new-tag }}
|
tag_name: ${{ steps.calculate-version.outputs.new-tag }}
|
||||||
name: Release ${{ steps.calculate-version.outputs.new-tag }}
|
name: Release ${{ steps.calculate-version.outputs.new-tag }}
|
||||||
body: ${{ steps.calculate-version.outputs.changelog }}
|
body: ${{ steps.calculate-version.outputs.changelog }}
|
||||||
Reference in New Issue
Block a user