File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717jobs :
1818 build :
1919 name : Build SDK
20- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
20+ runs-on : ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
2121 permissions :
2222 contents : read
2323 steps :
Original file line number Diff line number Diff line change 1414jobs :
1515 checks :
1616 name : Code Quality Checks
17- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
17+ runs-on : ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
1818 permissions :
1919 contents : read
2020 steps :
Original file line number Diff line number Diff line change 1111jobs :
1212 analyze :
1313 name : Analyze (${{ matrix.language }})
14- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
14+ runs-on : ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
1515 timeout-minutes : 360
1616 permissions :
1717 security-events : write
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 commit-validation :
13- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
13+ runs-on : ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
1414 steps :
1515 - name : Checkout repository
1616 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1818
1919jobs :
2020 integration-tests :
21- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
21+ runs-on : ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
2222 permissions :
2323 contents : read
2424 steps :
Original file line number Diff line number Diff line change 99jobs :
1010 publish :
1111 name : Publish to Artifactory
12- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
12+ runs-on : ["self-hosted"]
1313 environment : ' artifactory:sap-cloud-sdk'
1414 if : ${{ !contains(github.server_url, 'github.com') }}
1515 steps :
Original file line number Diff line number Diff line change 1010
1111jobs :
1212 check-reuse-compliance :
13- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
13+ runs-on : ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
1414 steps :
1515 - uses : actions/checkout@v6
1616
Original file line number Diff line number Diff line change 1818jobs :
1919 test :
2020 name : Unit Tests with Coverage
21- runs-on : ${{ vars.RUNNER && fromJSON(vars.RUNNER) || 'ubuntu-latest' }}
21+ runs-on : ${{ contains(github.server_url, 'github.com') && 'ubuntu-latest' || fromJSON('["self-hosted"]') }}
2222 steps :
2323 - name : " Checkout Repository"
2424 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments