File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 39
39
default : " "
40
40
41
41
jobs :
42
- publish_plugin_and_cli :
42
+ publish_plugin :
43
43
strategy :
44
44
fail-fast : false # force to execute all jobs even though some of them have failed
45
45
matrix :
@@ -65,11 +65,13 @@ jobs:
65
65
if : ${{ github.event.inputs.custom_version != '' }}
66
66
run : |
67
67
echo "VERSION=${{ github.event.inputs.custom_version }}" >> $GITHUB_ENV
68
+ echo "VERSION_ARCHIVE=${{ github.event.inputs.custom_version }}" >> $GITHUB_ENV
68
69
- name : Setup version
69
70
if : ${{ github.event.inputs.custom_version == '' }}
70
71
shell : bash
71
72
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
73
75
74
76
- name : Print environment variables
75
77
run : printenv
85
87
if : ${{ inputs.upload-artifact == 'true' }}
86
88
uses : actions/upload-artifact@v3
87
89
with :
88
- name : utbot-intellij-${{ matrix.configuration.plugin_type }}-${{ env.VERSION }}
90
+ name : utbot-intellij-${{ matrix.configuration.plugin_type }}-${{ env.VERSION_ARCHIVE }}
89
91
path : utbot-intellij/build/distributions/*
You can’t perform that action at this time.
0 commit comments