Skip to content

Commit 4381090

Browse files
authored
Update CI.yml
1 parent c9a7088 commit 4381090

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,16 @@ jobs:
1919
key: ${{ runner.os }}-Build-${{ hashFiles('gradlew.bat', 'src/dotnet/*/*.csproj', 'src/dotnet/*.props', 'gradle-wrapper.properties') }}
2020
- run: ./gradlew :rdgen --no-daemon
2121
- run: ./gradlew :buildPlugin --no-daemon
22+
- uses: mad9000/actions-find-and-replace-string@5
23+
id: fix_branch_name
24+
with:
25+
source: ${{ github.ref_name }}
26+
find: '/'
27+
replace: '-'
2228
- uses: actions/upload-artifact@v3
2329
if: always()
2430
with:
25-
name: ${{ github.event.repository.name }}.CI.${{ github.ref_name//\//- }}
31+
name: ${{ github.event.repository.name }}.CI.${{ steps.fix_branch_name.outputs.value }}
2632
path: output
2733
Test:
2834
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)