Show part names on sprites tabs #173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: build | |
runs-on: windows-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Build | |
shell: cmd | |
run: | | |
cd editor | |
dotnet publish sth1edwv.sln --configuration Release --output foo /p:Version=0.${{github.run_number}}+${{github.sha}} --runtime win-x64 -p:PublishSingleFile=true --no-self-contained | |
7z a program.zip .\foo\* | |
- name: Make artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: program | |
path: editor\foo\* | |
- name: Create release | |
if: github.ref == 'refs/heads/master' | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{secrets.GITHUB_TOKEN}}" | |
automatic_release_tag: "v0.${{github.run_number}}" | |
prerelease: false | |
title: "Automatic build #${{github.run_number}}" | |
files: editor/program.zip |