We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1547d9 commit d11811eCopy full SHA for d11811e
.github/workflows/run-tests.yaml
@@ -42,7 +42,14 @@ jobs:
42
steps:
43
- uses: actions/checkout@v3
44
45
- - name: Slugify GITHUB_REPOSITORY
+ - name: Slugify GITHUB_REPOSITORY (win)
46
+ if: ${{ matrix.os == 'windows-latest' }}
47
+ run: |
48
+ $slug = $env:GITHUB_REPOSITORY -replace '/', '_'
49
+ echo "GITHUB_REPOSITORY_SLUG=$slug" | tee -Append $env:GITHUB_ENV
50
+
51
+ - name: Slugify GITHUB_REPOSITORY (non-win)
52
+ if: ${{ matrix.os != 'windows-latest' }}
53
run: echo "GITHUB_REPOSITORY_SLUG=${GITHUB_REPOSITORY////_}" >> $GITHUB_ENV
54
55
- name: Set up Python ${{ matrix.python-version }}
0 commit comments