Skip to content

Merge branch 'main' of https://github.com/JueXiuHuang/MapArtist #20

Merge branch 'main' of https://github.com/JueXiuHuang/MapArtist

Merge branch 'main' of https://github.com/JueXiuHuang/MapArtist #20

Workflow file for this run

name: Build & Release
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
jobs:
release:
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
uses: threeal/[email protected]
with:
build-args: --config Release
run-build: true
- name: Zip Binaries
uses: vimtor/[email protected]
with:
files: bin
dest: ${{ matrix.asset_name }}.zip
- name: Release
uses: softprops/[email protected]
with:
files: "executable-MSVC.zip"
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
file: ${{ matrix.asset_name }}.zip