Skip to content

Commit

Permalink
checkout specific branch
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir committed Feb 19, 2024
1 parent 7d5077a commit 31b20de
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/new_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,31 +43,36 @@ jobs:
uses: ./.github/workflows/ubuntu.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

windows:
name: Release - Windows
needs: release
uses: ./.github/workflows/windows-vcpkg.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

centos7:
name: Release - centos7
needs: release
uses: ./.github/workflows/centos7.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

oracle8:
name: Release - oracle8
needs: release
uses: ./.github/workflows/oracle8.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}

user_guide:
name: User Guide
needs: release
uses: ./.github/workflows/build-userguide.yml
with:
run-tests: ${{ inputs.run-tests }}
target_branch: ${{ inputs.target_branch }}
6 changes: 5 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
run-tests:
required: true
type: string
target_branch:
required: true
type: string

env:
GITHUB_TOKEN: ${{ github.token }}
Expand All @@ -37,7 +40,8 @@ jobs:

steps:
- uses: actions/checkout@v3

with:
ref: ${{ inputs.target_branch}}
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand Down

0 comments on commit 31b20de

Please sign in to comment.