Add some docs about GitHub actions and tags #257
Workflow file for this run
This file contains hidden or 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: | |
| paths-ignore: | |
| - 'doc/**' | |
| - 'img/**' | |
| - 'changelog.md' | |
| - 'license.txt' | |
| - 'readme.md' | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install .NET 8.0 | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Build and Test (Debug) | |
| run: dotnet test src -c Debug | |
| - name: Self Build - Publish (main only) | |
| if: github.event_name == 'push' | |
| shell: bash | |
| run: | | |
| ./src/dotnet-releaser/bin/Debug/net8.0/dotnet-releaser run --nuget-token "${{secrets.NUGET_TOKEN}}" --github-token "${{secrets.GITHUB_TOKEN}}" src/dotnet-releaser.toml |