Skip to content

0.0.4 Release

0.0.4 Release #41

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
env:
TEST_ACCESS_TOKEN: ${{ secrets.TEST_ACCESS_TOKEN }}
TEST_USERNAME: ${{ secrets.TEST_USERNAME }}
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x
- name: Restore dependencies on AdvancedBilling
run: dotnet restore AdvancedBilling.sln
- name: Build AdvancedBilling
run: dotnet build AdvancedBilling.sln --no-restore
- name: Restore dependencies on AdvancedBilling Tests
run: dotnet restore AdvancedBillingTests.sln
- run: export TEST_ACCESS_TOKEN=${{ env.TEST_ACCESS_TOKEN }}
- run: export TEST_USERNAME=${{ env.TEST_USERNAME }}
- name: Test
run: dotnet test AdvancedBillingTests.sln --verbosity normal