Skip to content

Commit 9893856

Browse files
authored
fix plugin name #2289 (#2295)
1 parent 9f7c0b2 commit 9893856

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/publish-plugin-from-branch.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ on:
3939
default: ""
4040

4141
jobs:
42-
publish_plugin_and_cli:
42+
publish_plugin:
4343
strategy:
4444
fail-fast: false # force to execute all jobs even though some of them have failed
4545
matrix:
@@ -65,11 +65,13 @@ jobs:
6565
if: ${{ github.event.inputs.custom_version != '' }}
6666
run: |
6767
echo "VERSION=${{ github.event.inputs.custom_version }}" >> $GITHUB_ENV
68+
echo "VERSION_ARCHIVE=${{ github.event.inputs.custom_version }}" >> $GITHUB_ENV
6869
- name: Setup version
6970
if: ${{ github.event.inputs.custom_version == '' }}
7071
shell: bash
7172
run: |
72-
echo "VERSION=${GITHUB_REF_NAME:0:4}-$(date +%Y).$(date +%-m).${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
73+
echo "VERSION=$(date +%Y).$(date +%-m).${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
74+
echo "VERSION_ARCHIVE=${GITHUB_REF_NAME:0:4}-$(date +%Y).$(date +%-m).${GITHUB_RUN_NUMBER}" >> $GITHUB_ENV
7375
7476
- name: Print environment variables
7577
run: printenv
@@ -85,5 +87,5 @@ jobs:
8587
if: ${{ inputs.upload-artifact == 'true' }}
8688
uses: actions/upload-artifact@v3
8789
with:
88-
name: utbot-intellij-${{ matrix.configuration.plugin_type }}-${{ env.VERSION }}
90+
name: utbot-intellij-${{ matrix.configuration.plugin_type }}-${{ env.VERSION_ARCHIVE }}
8991
path: utbot-intellij/build/distributions/*

0 commit comments

Comments
 (0)