Skip to content

Commit 4334911

Browse files
committed
Update actions to get CI running again
1 parent 3e48b55 commit 4334911

5 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/build/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ runs:
4040
## Install the .NET Core workload
4141
## This is not required since the windows-2019 runner comes with pre-installed .NET Framework
4242
#- name: Install .NET Core
43-
# uses: actions/setup-dotnet@v1
43+
# uses: actions/setup-dotnet@v4
4444
# with:
4545
# dotnet-version: 5.0.x
4646

4747
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
4848
- name: Setup MSBuild.exe
49-
uses: microsoft/setup-msbuild@v1.0.2
49+
uses: microsoft/setup-msbuild@v2
5050

5151
# Build the app (after restoring dependencies)
5252
- name: Build
@@ -59,7 +59,7 @@ runs:
5959

6060
- name: Upload build artifacts
6161
if: ${{ inputs.artifact != '' }}
62-
uses: actions/upload-artifact@v2
62+
uses: actions/upload-artifact@v4
6363
with:
6464
name: ${{ inputs.artifact }}
6565
path: ${{ steps.build.outputs.path }}

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v2
24+
uses: actions/checkout@v4
2525

2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v1
27+
uses: github/codeql-action/init@v3
2828
with:
2929
languages: ${{ matrix.language }}
3030
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -36,6 +36,6 @@ jobs:
3636
with:
3737
configuration: Debug
3838
build_options: '/p:UseSharedCompilation=false'
39-
39+
4040
- name: Perform CodeQL Analysis
41-
uses: github/codeql-action/analyze@v1
41+
uses: github/codeql-action/analyze@v3

.github/workflows/dotnet-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
portable-build:
1212
runs-on: windows-2019
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- uses: ./.github/build
1616
with:
1717
configuration: Release
@@ -23,7 +23,7 @@ jobs:
2323
needs: portable-build
2424
steps:
2525
- name: Collect artifact
26-
uses: actions/download-artifact@v2
26+
uses: actions/download-artifact@v4
2727
with:
2828
name: release_artifact_portable
2929
path: release_artifact_portable
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: windows-2019
4545
steps:
4646
- name: Checkout
47-
uses: actions/checkout@v2
47+
uses: actions/checkout@v4
4848
- name: Build program executable
4949
id: build
5050
uses: ./.github/build

.github/workflows/dotnet-testbuild.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
matrix:
1212
flavor: [Installer, Portable]
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- uses: ./.github/build
1616
with:
1717
configuration: Debug
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: windows-2019
2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
2626
- name: Build program executable
2727
id: build
2828
uses: ./.github/build
@@ -39,19 +39,19 @@ jobs:
3939
candle releaseFiles.wxs
4040
candle PasteIntoFile.wxs
4141
light -b ../${{steps.build.outputs.path}} releaseFiles.wixobj PasteIntoFile.wixobj -ext WixNetFxExtension -out Installer.msi
42-
42+
4343
4444
# test:
4545
# runs-on: windows-2019 # For a list of available runner types, refer to https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
4646
#
4747
# steps:
4848
# - name: Checkout
49-
# uses: actions/checkout@v2
49+
# uses: actions/checkout@v4
5050
#
5151
# ## Install the .NET Core workload
5252
# ## This is not required since the windows-2019 runner comes with pre-installed .NET Framework
5353
# #- name: Install .NET Core
54-
# # uses: actions/setup-dotnet@v1
54+
# # uses: actions/setup-dotnet@v4
5555
# # with:
5656
# # dotnet-version: 5.0.x
5757
#

.github/workflows/pre-commit.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
pre-commit:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-python@v2
13-
- uses: pre-commit/action@v3.0.0
11+
- uses: actions/checkout@v4
12+
- uses: actions/setup-python@v3
13+
- uses: pre-commit/action@v3.0.1
1414
with:
1515
extra_args: --all-files --hook-stage=manual

0 commit comments

Comments
 (0)