-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 🚧 Upgrade to .net 8 * 📝 add comments * update build actions * update path * release update * ✨ Latest Rules Funcs * Remove comments
- Loading branch information
Showing
90 changed files
with
2,457 additions
and
2,006 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,28 +10,27 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
|
||
# TODO: also use ARM paramaters | ||
# TODO: resource names should be paramaterised | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET 3.1.x | ||
- name: Setup .NET 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.x | ||
dotnet-version: 8.0.x | ||
|
||
- name: Restore dependencies | ||
working-directory: Functions/ | ||
working-directory: SSW.Rules.AzFuncs/ | ||
run: dotnet restore | ||
|
||
- name: Build | ||
working-directory: Functions/ | ||
working-directory: SSW.Rules.AzFuncs/ | ||
run: dotnet build --no-restore | ||
|
||
- name: Deploy | ||
working-directory: Functions/ | ||
run: dotnet publish | ||
--configuration Release | ||
--output ../deploy | ||
working-directory: SSW.Rules.AzFuncs/ | ||
run: | | ||
dotnet publish \ | ||
--configuration Release \ | ||
--output ../deploy | ||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
|
@@ -45,10 +44,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET 5.0.x | ||
- name: Setup .NET 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 5.0.x | ||
dotnet-version: 8.0.x | ||
|
||
- name: Generate ARM Template | ||
working-directory: Azure/ | ||
|
@@ -100,15 +99,10 @@ jobs: | |
resourceGroupName: ${{ secrets.AZURE_RG }} | ||
template: arm-template.json | ||
|
||
- name: Setup .NET 3.1.x | ||
- name: Setup .NET 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.x | ||
|
||
- name: Login with Azure CLI | ||
uses: azure/login@v1 | ||
with: | ||
creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
dotnet-version: 8.0.x | ||
|
||
- uses: actions/download-artifact@v2 | ||
with: | ||
|
@@ -120,4 +114,4 @@ jobs: | |
id: fa | ||
with: | ||
app-name: ${{ secrets.AZURE_RG_PREFIX }}-functions | ||
package: deploy | ||
package: deploy |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,27 +9,27 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
|
||
# TODO: also use ARM paramaters | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET 3.1.x | ||
- name: Setup .NET 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.x | ||
dotnet-version: 8.0.x | ||
|
||
- name: Restore dependencies | ||
working-directory: Functions/ | ||
working-directory: SSW.Rules.AzFuncs/ | ||
run: dotnet restore | ||
|
||
- name: Build | ||
working-directory: Functions/ | ||
working-directory: SSW.Rules.AzFuncs/ | ||
run: dotnet build --no-restore | ||
|
||
- name: Deploy | ||
working-directory: Functions/ | ||
run: dotnet publish | ||
--configuration Release | ||
--output ../deploy | ||
working-directory: SSW.Rules.AzFuncs/ | ||
run: | | ||
dotnet publish \ | ||
--configuration Release \ | ||
--output ../deploy | ||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
|
@@ -43,10 +43,10 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET 5.0.x | ||
- name: Setup .NET 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 5.0.x | ||
dotnet-version: 8.0.x | ||
|
||
- name: Generate ARM Template | ||
working-directory: Azure/ | ||
|
@@ -97,10 +97,10 @@ jobs: | |
resourceGroupName: ${{ secrets.AZURE_RG }} | ||
template: arm-template.json | ||
|
||
- name: Setup .NET 3.1.x | ||
- name: Setup .NET 8.0.x | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.x | ||
dotnet-version: 8.0.x | ||
|
||
- name: Login with Azure CLI | ||
uses: azure/login@v1 | ||
|
@@ -117,4 +117,4 @@ jobs: | |
id: fa | ||
with: | ||
app-name: ${{ secrets.AZURE_RG_PREFIX }}-functions | ||
package: deploy | ||
package: deploy |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.