Skip to content

Commit

Permalink
Update actions version (#634)
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayan authored Oct 28, 2023
1 parent f54a3b4 commit 3d41538
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ on:

env:
DOTNET_VERSION: 6.0.x
BICEP_VERSION: 0.19.5
BICEP_VERSION: 0.22.6

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- name: Use .NET Core ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v2
- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ on:

env:
DOTNET_VERSION: 6.0.x
BICEP_VERSION: 0.19.5
BICEP_VERSION: 0.22.6

jobs:
publish:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.setup_version.outputs.version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- name: Use .NET Core ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v2
- name: Use .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Setup Version
id: setup_version
run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT

- name: Publish Functions
run: dotnet publish -c Release -r win-x86 --self-contained false -o ./dist -p:Version=${{ steps.setup_version.outputs.version }} KeyVault.Acmebot
- name: Publish Function app
run: dotnet publish -c Release -r win-x86 --no-self-contained -o ./dist -p:Version=${{ steps.setup_version.outputs.version }} KeyVault.Acmebot

- name: Zip Functions
- name: Zip Function app
run: 7z a -mx=9 latest.zip ./dist/*

- name: Upload artifacts
Expand Down
4 changes: 2 additions & 2 deletions azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"_generator": {
"name": "bicep",
"version": "0.19.5.34762",
"templateHash": "9416204604160693808"
"version": "0.22.6.54827",
"templateHash": "18177599109201060587"
}
},
"parameters": {
Expand Down

0 comments on commit 3d41538

Please sign in to comment.