Update EasyBackupAvalonia.csproj #18
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: Build and publish to release | |
on: | |
push: | |
branches: | |
- main # Used for stable releases | |
- develop # Used for preview releases | |
jobs: | |
publish: | |
name: Build check for all branches | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET 9.0 | |
uses: actions/setup-dotnet@v4.0.1 | |
with: | |
dotnet-version: 9.0.x | |
- name: Build, Tests, Cover, Pack and Publish (on push tag) | |
shell: bash | |
run: | | |
dotnet workload restore | |
dotnet tool install --global dotnet-releaser | |
dotnet-releaser run --github-token "${{secrets.GITHUB_TOKEN}}" ${{ github.workspace }}/dotnet-releaser.toml | |