Skip to content

Draw blocks in the block list scaled to the user's DPI #177

Draw blocks in the block list scaled to the user's DPI

Draw blocks in the block list scaled to the user's DPI #177

Workflow file for this run

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