CI: Update v2 branch CI to be on par with v3 (#286)
* ci: Update CI to be on par with v3 * ci: Update gosop branch for GopenPGP-v2
This commit is contained in:
parent
2a07a34fb8
commit
4e8fad59d6
9 changed files with 54 additions and 47 deletions
8
.github/actions/build-gosop/action.yml
vendored
8
.github/actions/build-gosop/action.yml
vendored
|
|
@ -2,7 +2,6 @@ name: 'build-gosop'
|
|||
description: 'Build gosop from the current branch'
|
||||
|
||||
inputs:
|
||||
|
||||
gopenpgp-ref:
|
||||
description: 'gopenpgp branch tag or commit to build from'
|
||||
required: true
|
||||
|
|
@ -21,6 +20,12 @@ runs:
|
|||
with:
|
||||
ref: ${{ inputs.gopenpgp-ref }}
|
||||
path: gopenpgp
|
||||
- name: Set env
|
||||
run: echo "GOSOP_BRANCH_REF=$(./.github/test-suite/determine_gosop_branch.sh)" >> $GITHUB_ENV
|
||||
shell: bash
|
||||
- name: Print gosop branch
|
||||
run: echo ${{ env.GOSOP_BRANCH_REF}}
|
||||
shell: bash
|
||||
# Build gosop
|
||||
- name: Set up latest golang
|
||||
uses: actions/setup-go@v3
|
||||
|
|
@ -30,6 +35,7 @@ runs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: ProtonMail/gosop
|
||||
ref: ${{ env.GOSOP_BRANCH_REF}}
|
||||
path: gosop
|
||||
- name: Cache go modules
|
||||
uses: actions/cache@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue