Skip to content

Commit

Permalink
update workflow script files to use general version of checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak committed Feb 4, 2024
1 parent 6e8bbcc commit dddbc95
Show file tree
Hide file tree
Showing 12 changed files with 47 additions and 56 deletions.
2 changes: 1 addition & 1 deletion .github/actions/curlcmd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ runs:
id: curlcmd
run: |
$null = Remove-Item -ErrorAction Ignore alias:curl
$curl_cov = "curl -s ${{ inputs.owcurlopts }}"
$curl_cov = "curl -s ${{ vars.OWCURLOPTS }}"
$curl_gh = $curl_cov + ' -L -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28"'
"cov=$curl_cov" | Out-File -FilePath ${{ github.output }} -Encoding utf8 -Append
"gh=$curl_gh" | Out-File -FilePath ${{ github.output }} -Encoding utf8 -Append
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/artfdel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Delete Artifacts
uses: "./.github/actions/artfdel"
with:
Expand Down
37 changes: 14 additions & 23 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
bootow-lnx:
needs: start-start
name: Bootstrap Linux OW
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap Linux OW
uses: "./.github/actions/testboot"
with:
Expand All @@ -49,7 +49,7 @@ jobs:
runs-on: windows-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap Windows OW
uses: "./.github/actions/testboot"
with:
Expand Down Expand Up @@ -115,12 +115,13 @@ jobs:
needs:
- workflow-lnx
- workflow-nt
- workflow-osx
if: github.event_name == 'PullRequest'
name: CI Pull Request Artifact
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Load all release files
uses: "./.github/actions/relload"
with:
Expand All @@ -142,16 +143,23 @@ jobs:
name: 'owsnapshot'
path: ${{ steps.owsnapshot.outputs.fullname }}
retention-days: 10
- name: Call to delete Artifacs
uses: "./.github/actions/artfdelc"
with:
exclude: 'owsnapshot'
owdebug: ${{ vars.OWDEBUG }}
owcurlopts: ${{ vars.OWCURLOPTS }}
snapshot-push:
needs:
- workflow-lnx
- workflow-nt
- workflow-osx
if: github.event_name != 'PullRequest'
name: CI Release
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Load all release files
uses: "./.github/actions/relload"
with:
Expand All @@ -175,24 +183,7 @@ jobs:
fullname: ${{ steps.owsnapshot.outputs.fullname }}
owdebug: ${{ vars.OWDEBUG }}
owcurlopts: ${{ vars.OWCURLOPTS }}
end-end:
needs:
- snapshot-pull
- snapshot-push
name: Call to delete Artifacts
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
- if: github.event_name == 'PullRequest'
name: Call to delete Artifacs
uses: "./.github/actions/artfdelc"
with:
exclude: 'owsnapshot'
owdebug: ${{ vars.OWDEBUG }}
owcurlopts: ${{ vars.OWCURLOPTS }}
- if: github.event_name != 'PullRequest'
name: Call to delete Artifacs
- name: Call to delete Artifacs
uses: "./.github/actions/artfdelc"
with:
owdebug: ${{ vars.OWDEBUG }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cibldlnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap
uses: "./.github/actions/boot"
with:
Expand All @@ -43,7 +43,7 @@ jobs:
timeout-minutes: 120
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Build
uses: "./.github/actions/build"
with:
Expand All @@ -58,7 +58,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Tests
uses: "./.github/actions/tests"
with:
Expand All @@ -71,7 +71,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Load Artifact
uses: "./.github/actions/artfload"
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cibldnt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap
uses: "./.github/actions/boot"
with:
Expand All @@ -43,7 +43,7 @@ jobs:
timeout-minutes: 120
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Build
uses: "./.github/actions/build"
with:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
doctype: docwin
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Docs Build
uses: "./.github/actions/docbuild"
with:
Expand All @@ -89,7 +89,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Tests
uses: "./.github/actions/tests"
with:
Expand All @@ -102,7 +102,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Load Artifact
uses: "./.github/actions/artfload"
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cibldosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap
uses: "./.github/actions/boot"
with:
Expand All @@ -43,7 +43,7 @@ jobs:
timeout-minutes: 120
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Build
uses: "./.github/actions/build"
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runit: ${{ steps.check_tag.outputs.old }}
steps:
- name: Checkout Actions
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Check tag reference
id: check_tag
uses: "./.github/actions/ghtagchk"
Expand All @@ -39,7 +39,7 @@ jobs:
OWCOV_RESULTS_ARCHIVE: 'open-watcom-v2.tgz'
steps:
- name: Checkout Actions
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Install DOSBOX
uses: "./.github/actions/dosboxin"
with:
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
# OWCOV_RESULTS_ARCHIVE: 'open-watcom-v2.zip'
# steps:
# - name: Checkout Actions
# uses: actions/checkout@v4.1.1
# uses: actions/checkout@v4
# - name: Install DOSBOX
# uses: "./.github/actions/dosboxin"
# with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rel-lnx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap Linux
uses: "./.github/actions/boot"
with:
Expand All @@ -43,7 +43,7 @@ jobs:
timeout-minutes: 120
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Build
uses: "./.github/actions/build"
with:
Expand All @@ -58,7 +58,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Tests
uses: "./.github/actions/tests"
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/rel-nt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap
uses: "./.github/actions/boot"
with:
Expand All @@ -43,7 +43,7 @@ jobs:
timeout-minutes: 120
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Build
uses: "./.github/actions/build"
with:
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
doctype: docwin
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Documentation
uses: "./.github/actions/docbuild"
with:
Expand All @@ -89,7 +89,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Tests
uses: "./.github/actions/tests"
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rel-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ inputs.image }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap
uses: "./.github/actions/boot"
with:
Expand All @@ -43,7 +43,7 @@ jobs:
timeout-minutes: 120
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Build
uses: "./.github/actions/build"
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runit: ${{ steps.check_tag.outputs.old }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Check tag reference
id: check_tag
uses: "./.github/actions/ghtagchk"
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
insttype: snapshot
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Installer
uses: "./.github/actions/install"
with:
Expand All @@ -125,7 +125,7 @@ jobs:
mrelid: ${{ steps.rel_rel.outputs.mrelid }}
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: GitHub Release
id: rel_rel
uses: "./.github/actions/release"
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
asset: snapshot
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- run: echo "drelid=${{ needs.release.outputs.drelid }};mrelid=${{ needs.release.outputs.mrelid }}"
shell: bash
- name: Upload ${{ matrix.display }} Asset
Expand All @@ -179,7 +179,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Call to delete Artifacs
uses: "./.github/actions/artfdelc"
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wikidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
runs-on: windows-2019
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Bootstrap
uses: "./.github/actions/boot"
with:
Expand All @@ -74,7 +74,7 @@ jobs:
owtarget: '.and wikipdf .or -- -- docset=wikipdf -i'
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Docs Build
uses: "./.github/actions/docbuild"
with:
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4
- name: Call to delete Artifacts
uses: "./.github/actions/artfdelc"
with:
Expand Down

0 comments on commit dddbc95

Please sign in to comment.