Also include adifwatcher in build artefacts #121
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] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Restore | |
run: dotnet restore CamLog.sln | |
- name: Run build | |
run: dotnet build -p:Version=1.0.0.${{ github.run_number }} CamLog.sln | |
- name: Zip for release | |
uses: thedoctor0/zip-release@master | |
with: | |
type: 'zip' | |
filename: CamLog-1.0.0.${{ github.run_number }}.zip | |
path: | | |
UI/bin/Debug/net472/* | |
WsjtxImport/bin/Debug/net472/* | |
AdifWatcher/bin/Debug/net8.0/* | |
- uses: actions/upload-artifact@v3 | |
with: | |
path: CamLog-1.0.0.${{ github.run_number }}.zip | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: CamLog-1.0.0.${{ github.run_number }}.zip |