-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add compatibility with upload-artiact v4
Names of artifacts need to be distinct now
- Loading branch information
1 parent
0a96d8e
commit b15d87f
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,8 +82,9 @@ jobs: | |
run: | | ||
. venv/bin/activate | ||
python tests/primer/__main__.py prepare --clone | ||
- name: Upload output diff | ||
- name: Upload commit string | ||
uses: actions/[email protected] | ||
if: matrix.batchIdx == 0 | ||
with: | ||
name: primer_commitstring | ||
path: | ||
|
@@ -105,7 +106,9 @@ jobs: | |
- name: Upload output | ||
uses: actions/[email protected] | ||
with: | ||
name: primer_output | ||
name: | ||
primer_output_main_${{ steps.python.outputs.python-version }}_batch${{ | ||
matrix.batchIdx }} | ||
path: >- | ||
tests/.pylint_primer_tests/output_${{ steps.python.outputs.python-version | ||
}}_main_batch${{ matrix.batchIdx }}.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -174,14 +174,18 @@ jobs: | |
- name: Upload output of PR | ||
uses: actions/[email protected] | ||
with: | ||
name: primer_output_pr | ||
name: | ||
primer_output_pr_${{ steps.python.outputs.python-version }}_batch${{ | ||
matrix.batchIdx }} | ||
path: | ||
tests/.pylint_primer_tests/output_${{ steps.python.outputs.python-version | ||
}}_pr_batch${{ matrix.batchIdx }}.txt | ||
- name: Upload output of 'main' | ||
uses: actions/[email protected] | ||
with: | ||
name: primer_output_main | ||
name: | ||
primer_output_main_${{ steps.python.outputs.python-version }}_batch${{ | ||
matrix.batchIdx }} | ||
path: | ||
output_${{ steps.python.outputs.python-version }}_main_batch${{ | ||
matrix.batchIdx }}.txt | ||
|
@@ -191,6 +195,8 @@ jobs: | |
run: | | ||
echo ${{ github.event.pull_request.number }} | tee pr_number.txt | ||
- name: Upload PR number | ||
if: | ||
startsWith(steps.python.outputs.python-version, '3.8') && matrix.batchIdx == 0 | ||
uses: actions/[email protected] | ||
with: | ||
name: pr_number | ||
|