From 8e0d9a0f64f99417559dcea80e6252a2556dca14 Mon Sep 17 00:00:00 2001 From: gjsjohnmurray Date: Tue, 8 Oct 2024 22:18:00 +0100 Subject: [PATCH 1/3] Try to fix CI failure caused by dependabot update --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0995e05..8472675 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -75,7 +75,7 @@ jobs: if: runner.os == 'Windows' run: | npx vsce package -o ${{ steps.set-version.outputs.name }}.vsix - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: (runner.os == 'Windows') && (github.event_name != 'release') with: name: ${{ steps.set-version.outputs.name }}.vsix @@ -85,7 +85,7 @@ jobs: runs-on: windows-latest needs: build steps: - - uses: actions/download-artifact@v4.1.7 + - uses: actions/download-artifact@v4 with: name: ${{ needs.build.outputs.name }}.vsix - name: Create Release @@ -93,7 +93,7 @@ jobs: uses: softprops/action-gh-release@v1 with: tag_name: v${{ needs.build.outputs.version }} - release_name: v${{ needs.build.outputs.version }} + name: v${{ needs.build.outputs.version }} prerelease: ${{ github.event_name != 'release' }} token: ${{ secrets.GITHUB_TOKEN }} files: ${{ needs.build.outputs.name }}.vsix From 18227cba752b4f33430ec7bbf4578b4d6879599a Mon Sep 17 00:00:00 2001 From: gjsjohnmurray Date: Tue, 8 Oct 2024 22:23:30 +0100 Subject: [PATCH 2/3] More changes for CI fix --- .github/workflows/main.yml | 2 +- .github/workflows/prerelease.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8472675..02294f6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -85,7 +85,7 @@ jobs: runs-on: windows-latest needs: build steps: - - uses: actions/download-artifact@v4 + - uses: actions/download-artifact@v4.1.7 with: name: ${{ needs.build.outputs.name }}.vsix - name: Create Release diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 09d1553..e1ab934 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -75,7 +75,7 @@ jobs: if: runner.os == 'Windows' run: | npx vsce package --pre-release -o ${{ steps.set-version.outputs.name }}.vsix --githubBranch prerelease - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4.4.2 if: (runner.os == 'Windows') && (github.event_name != 'release') with: name: ${{ steps.set-version.outputs.name }}.vsix @@ -95,7 +95,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: v${{ needs.build.outputs.version }} - release_name: v${{ needs.build.outputs.version }} + name: v${{ needs.build.outputs.version }} prerelease: ${{ github.event_name != 'release' }} token: ${{ secrets.GITHUB_TOKEN }} files: ${{ needs.build.outputs.name }}.vsix From 4bbf46836fc10be3be7df1659c23f43f5f237212 Mon Sep 17 00:00:00 2001 From: gjsjohnmurray Date: Tue, 8 Oct 2024 22:24:53 +0100 Subject: [PATCH 3/3] Bump actions/upload-artifact --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02294f6..b0fe842 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -75,7 +75,7 @@ jobs: if: runner.os == 'Windows' run: | npx vsce package -o ${{ steps.set-version.outputs.name }}.vsix - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v4.4.2 if: (runner.os == 'Windows') && (github.event_name != 'release') with: name: ${{ steps.set-version.outputs.name }}.vsix