Fix db creation workflow

This commit is contained in:
Paul Lorenz
2024-04-25 15:04:29 -04:00
parent f5181e0827
commit cc80faaef5
+2 -6
View File
@@ -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