From 42fd57c5fa8b32fe40be4cfa3bdeb74585b1b1f3 Mon Sep 17 00:00:00 2001 From: Florian Hammerschmidt Date: Thu, 27 Oct 2022 09:07:38 +0200 Subject: [PATCH] Use a static name for the latest-master artifact --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf3006a9c..41ddf4290 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -157,7 +157,7 @@ jobs: - name: Package Extension pre-release version if: github.ref == 'refs/heads/master' - run: npx vsce package -o rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix ${{ steps.increment_pre_release.outputs.new_version }} --no-git-tag-version + run: npx vsce package -o rescript-vscode-latest-master.vsix ${{ steps.increment_pre_release.outputs.new_version }} --no-git-tag-version - name: Package Extension release version if: startsWith(github.ref, 'refs/tags/') @@ -172,8 +172,8 @@ jobs: - uses: actions/upload-artifact@v3 if: github.ref == 'refs/heads/master' with: - name: rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix - path: rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix + name: rescript-vscode-latest-master.vsix + path: rescript-vscode-latest-master.vsix - uses: actions/upload-artifact@v3 if: startsWith(github.ref, 'refs/tags/') @@ -189,7 +189,7 @@ jobs: automatic_release_tag: "latest-master" prerelease: true title: "Latest master" - files: rescript-vscode-${{ steps.increment_pre_release.outputs.new_version }}.vsix + files: rescript-vscode-latest-master.vsix - name: Publish release version to GitHub if: startsWith(github.ref, 'refs/tags/')