1414 required : false
1515 type : string
1616 os :
17- description : " The OS label which run the test on. (ex: ubuntu-22.04, ubuntu-20.04 , windows-latest, macos-latest)"
17+ description : " The OS label which run the test on. (ex: ubuntu-latest , windows-latest, macos-latest)"
1818 required : false
1919 type : string
2020 verbose :
2727 prerequisites :
2828 runs-on : ubuntu-latest
2929 outputs :
30- os : ${{ steps.input-prerequisites.outputs.os }}
3130 verbose : ${{ steps.input-prerequisites.outputs.verbose }}
32- env :
33- RUNS_ON_OS_LIST_DEFAULT : ' ubuntu-22.04, ubuntu-20.04, windows-latest, macos-latest'
3431 steps :
3532 - name : Delay until the package is published
3633 run : |
@@ -43,24 +40,18 @@ jobs:
4340 - name : Determine prerequisites
4441 id : input-prerequisites
4542 run : |
46- if [ -z '${{ github.event.inputs.os }}' ]; then
47- echo "os=${RUNS_ON_OS_LIST_DEFAULT}" >> $GITHUB_OUTPUT
48- else
49- echo 'os=${{ github.event.inputs.os }}' >> $GITHUB_OUTPUT
50- fi
51-
5243 if [ '${{ github.event.inputs.verbose }}' = 'true' ]; then
5344 echo 'verbose=true' >> $GITHUB_OUTPUT
5445 else
5546 echo 'verbose=false' >> $GITHUB_OUTPUT
5647 fi
5748
5849 run-test :
59- uses : smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test-v1.1.4
50+ uses : smdn/Smdn.Fundamentals/.github/workflows/test.yml@workflows/test-v1.1.5
6051 needs : prerequisites
6152 with :
6253 project : ${{ github.event.inputs.project }}
63- os : ${{ needs.prerequisites.outputs .os }}
54+ os : ${{ github.event.inputs .os }}
6455 extra_options_common : ' /p:TestReleasedPackage=true'
6556 verbose : ${{ fromJSON(needs.prerequisites.outputs.verbose) }}
6657 dotnet_sdk_version : ' 6.0.200'
0 commit comments