Try to redirect to login on access token expiration #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: Build Frontend | |
on: | |
push: | |
branches: [ master ] | |
paths: | |
- 'src/Savings.SPA/**' | |
workflow_dispatch: | |
jobs: | |
Build-Frontend: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.x | |
- name: Build .NET Frontend | |
run: dotnet publish Savings.SPA.csproj -o "output" -c "Release" | |
working-directory: ./src/Savings.SPA | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: savings-frontend | |
path: ./src/Savings.SPA/output/* | |
if-no-files-found: error | |
retention-days: 90 |