Skip to content

Commit

Permalink
build: update additional dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
victorfrye committed Jan 24, 2024
1 parent 24b733a commit ff6400b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/azure-swa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ on:
branches:
- main

env:
APP_LOCATION: "src/Client" # App source code path
OUTPUT_LOCATION: "wwwroot" # Built app content directory

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
lfs: false
Expand All @@ -26,8 +30,8 @@ jobs:
azure_static_web_apps_api_token: ${{ secrets.AZURE_SWA_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }}
action: "upload"
app_location: "src/Client"
output_location: "wwwroot"
app_location: ${{ env.APP_LOCATION }}
output_location: ${{ env.OUTPUT_LOCATION }}

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
Expand All @@ -39,5 +43,5 @@ jobs:
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_SWA_TOKEN }}
app_location: "src/Client"
action: "close"
app_location: ${{ env.APP_LOCATION }}
4 changes: 2 additions & 2 deletions src/Client/Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
</ItemGroup>

Expand Down

0 comments on commit ff6400b

Please sign in to comment.