Skip to content

Commit fb0223c

Browse files
committed
try again with variable in artifact name
1 parent 5c286d2 commit fb0223c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
env:
2323
version: 1.1.${{ github.run_number }}
24+
patchVersion: ${{ github.run_number }}
2425
# Steps represent a sequence of tasks that will be executed as part of the job
2526
steps:
2627
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -35,7 +36,7 @@ jobs:
3536
- name: Build extension
3637
run: |
3738
chmod +x gradlew
38-
./gradlew clean build -PBUILD_NUMBER=$GITHUB_RUN_NUMBER -PBUILD_SOURCEBRANCH=$GITHUB_REF_NAME -PBUILD_SOURCEVERSION=$GITHUB_SHA -PPACKAGE_VERSION=${{ env.version }}
39+
./gradlew clean build -PBUILD_NUMBER=${{ env.patchVersion }} -PBUILD_SOURCEBRANCH=$GITHUB_REF_NAME -PBUILD_SOURCEVERSION=$GITHUB_SHA -PPACKAGE_VERSION=${{ env.version }}
3940
4041
- name: Archive production artifacts
4142
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)