Skip to content

Commit

Permalink
Bump github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Grodzicki authored and Karol Grodzicki committed Jan 8, 2025
1 parent 6d7bd23 commit f35bd64
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/Zhp.Office.AccountManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Build
run: dotnet build --configuration Release automation/Zhp.Office.AccountManagement
Expand All @@ -23,12 +23,12 @@ jobs:
run: dotnet test --configuration Release automation/Zhp.Office.AccountManagement

- name: Login to Azure
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Test ARM
uses: azure/arm-deploy@v1
uses: azure/arm-deploy@v2
with:
deploymentMode: Validate
subscriptionId: 35e22786-93ea-47c8-902a-16e9d0f03e17
Expand All @@ -42,7 +42,7 @@ jobs:
cp automation/Zhp.Office.AccountManagement/deployment.arm.json app/
- name: Upload package
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: App
path: app
Expand All @@ -54,17 +54,17 @@ jobs:
needs: build
steps:
- name: Download package
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: App

- name: Login to Azure
uses: azure/login@v1
uses: azure/login@v2
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Deploy ARM
uses: azure/arm-deploy@v1
uses: azure/arm-deploy@v2
with:
deploymentMode: Complete
subscriptionId: 35e22786-93ea-47c8-902a-16e9d0f03e17
Expand Down

0 comments on commit f35bd64

Please sign in to comment.