mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 06:15:26 +00:00
Create release to run when RELEASE.md is changed
This commit is contained in:
parent
6bbf9d8bad
commit
fc50d9d93f
2 changed files with 10 additions and 6 deletions
31
.github/workflows/build_test.yaml
vendored
Normal file
31
.github/workflows/build_test.yaml
vendored
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
on:
|
||||
push:
|
||||
paths-ignore:
|
||||
- '.github/workflows/build_release.yaml'
|
||||
- 'RELEASE.md'
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
RELEASE_NAME: SteamDeckTools
|
||||
DOTNET_VERSION: '6.0.x'
|
||||
|
||||
jobs:
|
||||
build-and-test:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: ${{ env.DOTNET_VERSION }}
|
||||
- name: Install dependencies
|
||||
run: dotnet restore
|
||||
- name: Build without Version
|
||||
run: dotnet build --configuration Release --output ${{ env.SteamDeckTools }}-develop/
|
||||
- name: Test
|
||||
run: dotnet test --no-restore --verbosity normal
|
||||
- uses: vimtor/action-zip@v1
|
||||
with:
|
||||
files: ${{ env.SteamDeckTools }}-develop
|
||||
dest: ${{ env.SteamDeckTools }}-develop.zip
|
||||
recursive: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue