Allow branches with / in the name

This commit is contained in:
Stef Tervelde
2025-02-05 12:55:55 +01:00
parent 44ccb3daa4
commit 3b9aea1f40
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ jobs:
- name: Add artifact
uses: actions/upload-artifact@v4
with:
name: processing-${{ github.ref_name }}-${{github.sha}}-${{ matrix.os_prefix }}-${{ matrix.arch }}-gradle
name: processing-${{ replace(github.ref_name, '/', '-') }}-${{github.sha}}-${{ matrix.os_prefix }}-${{ matrix.arch }}-gradle
path: |
./app/build/compose/binaries/main/dmg/Processing-*.dmg
./app/build/compose/binaries/main/dmg/INSTRUCTIONS_FOR_TESTING.txt

View File

@@ -72,6 +72,6 @@ jobs:
- name: Add artifact
uses: actions/upload-artifact@v4
with:
name: processing-${{ github.ref_name }}-${{github.sha}}-${{ matrix.os_prefix }}-${{ matrix.arch }}-ant
name: processing-${{ replace(github.ref_name, '/', '-') }}-${{github.sha}}-${{ matrix.os_prefix }}-${{ matrix.arch }}-ant
path: ./build/${{ matrix.os_prefix }}/processing-${{github.sha}}-${{ matrix.os_prefix}}-*
retention-days: 1