Skip to content

Commit cbbb5be

Browse files
committed
artifact name
1 parent 9c1a4df commit cbbb5be

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/prerelease.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,15 @@ jobs:
4242
- name: Generate artifact
4343
run: |
4444
./gradlew -PideProfileName=${{ matrix.supported_versions }} ${{ matrix.build_target }}
45+
- name: Fix artifact name
46+
env:
47+
ARTIFACT_NAME: "${{ matrix.build_target }}"
48+
run: |
49+
echo "ARTIFACT_NAME=${ARTIFACT_NAME/-/:}" >> $GITHUB_ENV
4550
- name: Upload artifact
4651
uses: actions/upload-artifact@v4
4752
with:
48-
name: plugin-${{ matrix.build_target }}-${{ matrix.supported_versions }}
53+
name: ${{ env.ARTIFACT_NAME }}
4954
path: ./plugins/**/build/distributions/*.zip
5055
retention-days: 1
5156

0 commit comments

Comments
 (0)