Skip to content

Commit

Permalink
fix: release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bjansen committed Mar 31, 2023
1 parent 20eb3d9 commit df159cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ jobs:
- name: Build with Gradle
run: |
./gradlew -PideaVersion=${IDEA_VERSION} -PsinceBuildVersion=${SINCE_VERSION} -PuntilBuildVersion=${UNTIL_VERSION} check buildPlugin
[ ! -z "${ARTIFACT_SUFFIX}" ] && for f in `find build/distributions/ -name 'antlr-intellij-plugin-v4-*.zip'`; do mv -- "$f" "${f%.zip}${ARTIFACT_SUFFIX}.zip"; done
env: ${{ matrix.env }}

- name: Rename artifact
if: matrix.env.ARTIFACT_SUFFIX != ''
run: |
for f in `find build/distributions/ -name 'antlr-intellij-plugin-v4-*.zip'`; do mv -- "$f" "${f%.zip}${ARTIFACT_SUFFIX}.zip"; done
env: ${{ matrix.env }}

- name: Archive distribution artifact
Expand Down

0 comments on commit df159cd

Please sign in to comment.