Skip to content

Commit ae85c1f

Browse files
Copilottimheuer
andauthored
Update workflow actions to latest major versions (#43)
Agent-Logs-Url: https://github.com/timheuer/GitHubActionsVS/sessions/ed357cfc-dcf3-4e3f-aae6-3f385bb41fd8 Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: timheuer <4821+timheuer@users.noreply.github.com>
1 parent e877f75 commit ae85c1f

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/_build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ jobs:
2323
VsixManifestSourcePath: src\source.extension.cs
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2727
with:
2828
fetch-depth: 0
2929

3030
- name: Version stamping
3131
id: vsix_version
32-
uses: dotnet/nbgv@v0.4
32+
uses: dotnet/nbgv@v0.5.1
3333
with:
3434
setAllVars: true
3535

3636
- name: 🧰 Setup .NET build dependencies
37-
uses: timheuer/bootstrap-dotnet@v1
37+
uses: timheuer/bootstrap-dotnet@v2
3838
with:
3939
nuget: 'false'
4040
sdk: 'false'
@@ -52,17 +52,17 @@ jobs:
5252
run: msbuild ${{ env.PROJECT_PATH }} /p:Configuration=Release /v:m -restore /p:OutDir=\_built -bl
5353

5454
- name: ⬆️ Upload artifact
55-
uses: actions/upload-artifact@v4
55+
uses: actions/upload-artifact@v7
5656
with:
5757
name: msbuild.binlog
5858
path: msbuild.binlog
5959

6060
- name: ⬆️ Upload artifact
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@v7
6262
with:
6363
name: ${{ github.event.repository.name }}.vsix
6464
path: /_built/**/*.vsix
6565

6666
- name: Echo version
6767
run: |
68-
Write-Output ${{ steps.vsix_version.outputs.SimpleVersion }}
68+
Write-Output ${{ steps.vsix_version.outputs.SimpleVersion }}

.github/workflows/publish.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727
VERSION: ${{ needs.build.outputs.version }}
2828

2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v6
3131
with:
3232
fetch-depth: 0
3333

3434
- name: Download Package artifact
35-
uses: actions/download-artifact@v4
35+
uses: actions/download-artifact@v8
3636
with:
3737
name: ${{ github.event.repository.name }}.vsix
3838

3939
- name: Tag and Release
4040
id: tag_release
41-
uses: softprops/action-gh-release@v1
41+
uses: softprops/action-gh-release@v3
4242
with:
4343
body: Release ${{ env.VERSION }}
4444
tag_name: ${{ env.VERSION }}
@@ -55,7 +55,7 @@ jobs:
5555
id: publish_vsix
5656
if: ${{ (github.event_name == 'push' && contains(github.event.head_commit.message, '[release]')) || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.Command, '[release]')) }}
5757
continue-on-error: true # remove after VS bug fix
58-
uses: cezarypiatek/VsixPublisherAction@1.1
58+
uses: cezarypiatek/VsixPublisherAction@1.2
5959
with:
6060
extension-file: '${{ github.event.repository.name }}.vsix'
6161
publish-manifest-file: 'vs-publish.json'

0 commit comments

Comments
 (0)