Skip to content

Commit

Permalink
misc(ci): Add build, test, publish GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Kissaki committed Mar 9, 2024
1 parent 2a9cc0e commit 5a1a568
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: dotnet
on: [push]
jobs:
ci:
permissions:
contents: read
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Test
shell: pwsh
run: dotnet test --nologo --configuration Release --verbosity quiet | Tee-Object -Append $env:GITHUB_STEP_SUMMARY
- name: Publish
shell: pwsh
run: dotnet publish --nologo --configuration Release --verbosity minimal /p:PublishProfile=FolderProfile.pubxml Ed2kGui/ | Tee-Object -Append $env:GITHUB_STEP_SUMMARY
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: Package
path: publish
if-no-files-found: error

0 comments on commit 5a1a568

Please sign in to comment.