Skip to content

Commit 6dda896

Browse files
committed
Rename extension filename before upload
Signed-off-by: Federico Ponzi <[email protected]>
1 parent 3c9635b commit 6dda896

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ jobs:
3434
run: xvfb-run --auto-servernum npm test --silent
3535
- name: Test TLA+ Grammar
3636
run: npm run test:tlaplus-grammar
37+
- name: Rename artifact
38+
if: matrix.os == 'ubuntu-latest'
39+
run: mv vscode-ide-*.vsix vscode-tlaplus-$(git log -1 --format=%cd --date="format:%Y.%-m.%-d%H%M").vsix
3740
- name: Upload artifact
3841
if: matrix.os == 'ubuntu-latest'
3942
uses: actions/upload-artifact@v4
4043
with:
4144
name: vscode-tlaplus-ci.vsix
42-
path: ${{ github.workspace }}/vscode-ide-*.vsix
45+
path: ${{ github.workspace }}/vscode-tlaplus-*.vsix

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
continue-on-error: true
6969
uses: actions/upload-artifact@v4
7070
with:
71-
name: vscode-ide-1.7.0.vsix
71+
name: vscode-tlaplus-release-1.7.0.vsix
7272
path: |
7373
*.vsix
7474
- name: Publish to Open VSX

0 commit comments

Comments
 (0)