Skip to content

Commit

Permalink
👷 Add linux release
Browse files Browse the repository at this point in the history
  • Loading branch information
ldslds449 committed Apr 1, 2024
1 parent ee2df5f commit 200a593
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,38 @@ permissions:

jobs:
release:
name: Build & Release
runs-on: windows-latest
name: Release for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
asset_name: MapArtist-linux-amd64
- os: windows-latest
asset_name: MapArtist-windows-amd64

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Build Project (MSVC)
- name: Build Project
uses: threeal/[email protected]
with:
generator: Visual Studio 17 2022
build-args: --config Release
run-build: true

- name: Zip Binaries
uses: vimtor/[email protected]
with:
files: bin
dest: executable-MSVC.zip
dest: ${{ matrix.asset_name }}.zip

- name: Release
uses: softprops/[email protected]
with:
files: "executable-MSVC.zip"
files: "executable-MSVC.zip"

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: ${{ matrix.asset_name }}.zip

0 comments on commit 200a593

Please sign in to comment.