File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1919 build :
2020 # The type of runner that the job will run on
2121 runs-on : ubuntu-latest
22-
22+ env :
23+ version : 1.1.${{ github.run_number }}
2324 # Steps represent a sequence of tasks that will be executed as part of the job
2425 steps :
2526 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -34,11 +35,11 @@ jobs:
3435 - name : Build extension
3536 run : |
3637 chmod +x gradlew
37- ./gradlew clean build -PBUILD_NUMBER=$GITHUB_RUN_NUMBER -PBUILD_SOURCEBRANCH=$GITHUB_REF_NAME -PBUILD_SOURCEVERSION=$GITHUB_SHA -PPACKAGE_VERSION=1.1.$GITHUB_RUN_NUMBER
38+ ./gradlew clean build -PBUILD_NUMBER=$GITHUB_RUN_NUMBER -PBUILD_SOURCEBRANCH=$GITHUB_REF_NAME -PBUILD_SOURCEVERSION=$GITHUB_SHA -PPACKAGE_VERSION=${{ env.version }}
3839
3940 - name : Archive production artifacts
4041 uses : actions/upload-artifact@v3
4142 with :
42- name : InfotableInspectorWidget-v1.1. ${{ github.GITHUB_RUN_NUMBER }}
43+ name : InfotableInspectorWidget-v ${{ env.version }}
4344 path : build/distributions/*.zip
4445 retention-days : 1
You can’t perform that action at this time.
0 commit comments