Bump xunit from 2.5.1 to 2.6.0 in /src/BikeshareClient #185
Workflow file for this run
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 / CD | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
Build-and-publish: | |
name: Build-and-publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build BikeshareClient Pre-release packages | |
if: ${{ github.ref != 'refs/heads/master' }} | |
run: | | |
docker build --build-arg VERSION_SUFFIX="--version-suffix dev-${{ github.run_number }}" -t andmos/bikeshareclient . | |
- name: Build BikeshareClient Release packages | |
if: ${{ github.ref == 'refs/heads/master' }} | |
run: | | |
docker build -t andmos/bikeshareclient . | |
- name: Publish codecov result | |
run: | | |
docker run --rm -v $(pwd):/tmp -t andmos/bikeshareclient cp /app/BikeshareClient/TestBikeshareClient/coverage.opencover.xml /tmp | |
bash <(curl -s https://codecov.io/bash) | |
- name: Publish NuGet packages | |
run: | | |
docker run --rm -t andmos/bikeshareclient dotnet nuget push /app/output/BikeshareClient.*.nupkg -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate |