Skip to content

Commit 6a1bb11

Browse files
committed
Update actions syntax and dependencies
1 parent 0f22a49 commit 6a1bb11

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ runs:
5555
echo "::error ::Unsupported cwlVersion: '${cwlVersion}'"
5656
exit 1
5757
fi
58-
echo "::set-output name=repo::${baseOwner}/${repo}"
58+
echo "repo=${baseOwner}/${repo}" >> $GITHUB_OUTPUT
5959
env:
6060
cwlVersion: ${{ inputs.cwlVersion }}
6161
- uses: actions/checkout@v2
@@ -65,7 +65,7 @@ runs:
6565
path: cwl-run-conformance-${{ inputs.cwlVersion }}
6666
- name: Setup Python for testing
6767
if: ${{ inputs.skip-python-install == 'false' }}
68-
uses: actions/setup-python@v2
68+
uses: actions/setup-python@v4
6969
with:
7070
python-version: '3.9.x'
7171
- name: Install cwltest
@@ -95,12 +95,12 @@ runs:
9595
fi
9696
9797
./run_test.sh RUNNER=${{inputs.runner}} --badgedir=$basedir/badges --junit-xml=$basedir/junit.xml --timeout=${{inputs.timeout}} $tagopt $nopt "$extraopt" || true
98-
echo "::set-output name=badgedir::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/badges"
99-
echo "::set-output name=result::$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml"
98+
echo "badgedir=$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/badges" >> $GITHUB_OUTPUT
99+
echo "result=$GITHUB_WORKSPACE/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml" >> $GITHUB_OUTPUT
100100
env:
101101
cwlVersion:
102102
- name: Publish the result of conformance tests
103-
uses: EnricoMi/publish-unit-test-result-action@v1
103+
uses: EnricoMi/publish-unit-test-result-action@v2
104104
with:
105-
files: ${{ github.workspace }}/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml
105+
junit_files: ${{ github.workspace }}/cwl-run-conformance-${{ inputs.cwlVersion }}/junit.xml
106106
check_name: The result of conformance tests for CWL ${{ inputs.cwlVersion }}

0 commit comments

Comments
 (0)