Skip to content

Commit

Permalink
fix zip names
Browse files Browse the repository at this point in the history
  • Loading branch information
selimseker committed Aug 29, 2024
1 parent d85ca42 commit 52daf73
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build_start_exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,19 @@ jobs:
${{ matrix.env }} go build -tags="${{ matrix.tags }}" -o start${{ matrix.extension }} .
- name: Prepare Launch Release Files
env:
ZIP_NAME: dkn-${{ matrix.os }}-${{ matrix.arch }}
run: |
mkdir dkn-launch-${{ matrix.os }}-${{ matrix.arch }}
cp ./start/start${{ matrix.extension }} dkn-launch-${{ matrix.os }}-${{ matrix.arch }}/start${{ matrix.extension }}
cp ./compose.yml dkn-launch-${{ matrix.os }}-${{ matrix.arch }}/
cp ./.env.example dkn-launch-${{ matrix.os }}-${{ matrix.arch }}/
zip -r dkn-launch-${{ matrix.os }}-${{ matrix.arch }}.zip dkn-launch-${{ matrix.os }}-${{ matrix.arch }}
mkdir $ZIP_NAME
cp ./start/start${{ matrix.extension }} $ZIP_NAME/start${{ matrix.extension }}
cp ./compose.yml $ZIP_NAME/
cp ./.env.example $ZIP_NAME/
zip -r $ZIP_NAME.zip $ZIP_NAME
- name: Upload Launch Artifacts
uses: actions/upload-artifact@v4
with:
name: dkn-${{ matrix.os }}-${{ matrix.arch }}.zip
name: dkn-${{ matrix.os }}-${{ matrix.arch }}
path: dkn-${{ matrix.os }}-${{ matrix.arch }}.zip

test_release:
Expand All @@ -75,4 +77,4 @@ jobs:
name: Draft Launch Release
tag: v0.0.1
draft: true
artifacts: "artifacts/*.zip"
artifacts: "artifacts/*"

0 comments on commit 52daf73

Please sign in to comment.