mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
fix: buildvcs unable to fetch vcs information (#228)
This commit is contained in:
parent
1dcb6ed142
commit
e97eb1fa52
10
.github/actions/build_cli/action.yml
vendored
10
.github/actions/build_cli/action.yml
vendored
@ -10,10 +10,16 @@ runs:
|
||||
build-essential cmake \
|
||||
-y
|
||||
shell: bash
|
||||
# https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
||||
- name: Mark repository safe
|
||||
run: |
|
||||
git config --global --add safe.directory /__w/constellation/constellation
|
||||
shell: bash
|
||||
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.18.1'
|
||||
go-version: '1.18'
|
||||
- name: Build CLI
|
||||
run: |
|
||||
mkdir build
|
||||
@ -26,7 +32,7 @@ runs:
|
||||
- name: Build hack/pcr-reader
|
||||
run: |
|
||||
cd hack/pcr-reader/
|
||||
go build -buildvcs=false .
|
||||
go build .
|
||||
echo "$(pwd)" >> $GITHUB_PATH
|
||||
export PATH="$PATH:$(pwd)"
|
||||
shell: bash
|
||||
|
2
.github/workflows/e2e-test-azure.yml
vendored
2
.github/workflows/e2e-test-azure.yml
vendored
@ -13,6 +13,8 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Run Azure E2E test
|
||||
uses: ./.github/actions/e2e_test
|
||||
with:
|
||||
|
2
.github/workflows/e2e-test-gcp.yml
vendored
2
.github/workflows/e2e-test-gcp.yml
vendored
@ -13,6 +13,8 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Run GCP E2E test
|
||||
uses: ./.github/actions/e2e_test
|
||||
with:
|
||||
|
Loading…
Reference in New Issue
Block a user