You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
575 B
30 lines
575 B
name: publish
|
|
|
|
on:
|
|
push:
|
|
tags: [ v* ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-publish:
|
|
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup dotNET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: |
|
|
6.x
|
|
7.x
|
|
8.x
|
|
9.x
|
|
- name: Build
|
|
run: |
|
|
dotnet build --version-suffix $(date "+%Y.%m%d") -c Release -o out XCoder/CrazyCoder.csproj
|
|
- name: Upload build artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: Upload
|
|
path: .\out
|