mirror of
https://github.com/openziti/ziti.git
synced 2026-10-03 20:20:24 +00:00
Fix db creation workflow
This commit is contained in:
@@ -24,8 +24,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout ziti
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: ziti
|
||||
|
||||
- name: Install Go
|
||||
id: setup-go
|
||||
@@ -38,19 +36,17 @@ jobs:
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
cd ziti
|
||||
$(go env GOPATH)/bin/ziti-ci configure-git
|
||||
|
||||
- name: Pull ZITI_VERSION and set as $GITHUB_ENV for use with fablab
|
||||
run: |
|
||||
cd ziti
|
||||
version="$($(go env GOPATH)/bin/ziti-ci -q get-current-version)"
|
||||
echo "Ziti Version: $version"
|
||||
echo "ZITI_VERSION=$version" >> $GITHUB_ENV
|
||||
|
||||
- name: Build and Run
|
||||
run: |
|
||||
cd ziti/zititest/models/db-creation
|
||||
cd ./zititest/models/db-creation
|
||||
go build -o db-creation main.go
|
||||
echo "ZITI_ROOT=$(go env GOPATH)/bin" >> "$GITHUB_ENV"
|
||||
./db-creation create db-creation
|
||||
@@ -59,5 +55,5 @@ jobs:
|
||||
- name: Teardown
|
||||
if: always()
|
||||
run: |
|
||||
cd ziti/zititest/models/db-creation
|
||||
cd ./zititest/models/db-creation
|
||||
./db-creation dispose
|
||||
|
||||
Reference in New Issue
Block a user