From ded4454a3b512f0688c89997d5c2d0e917d51546 Mon Sep 17 00:00:00 2001 From: samelamin Date: Thu, 5 Oct 2023 15:39:40 +0100 Subject: [PATCH] refactor --- .github/workflows/build.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77502350..dd096895 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,10 +11,10 @@ on: - main paths-ignore: - "**.md" - env: - CARGO_TERM_COLOR: always - GCP_ZONE: europe-west3-a -# HOME: /home/ubuntu +env: + CARGO_TERM_COLOR: always + GCP_ZONE: europe-west3-a + jobs: create-runner: runs-on: ubuntu-latest @@ -40,6 +40,12 @@ jobs: steps: - uses: actions/checkout@v4 + - name: echo region + run: echo $GCP_ZONE + + - name: echo region2 + run: echo ${{ env.$GCP_ZONE }} + - name: Set HOME run: echo "HOME=/home/ubuntu" >> ${GITHUB_ENV} @@ -62,11 +68,4 @@ jobs: args: --check - name: Run tests with benchmarks - run: cargo test --features runtime-benchmarks - -# - name: Delete runner VM -# if: always() -# run: > -# gcloud compute instances delete -# gce-gh-runner-${{ github.run_id }}-${{ github.run_attempt }} -# --quiet --zone europe-west2-a + run: cargo test --features runtime-benchmarks \ No newline at end of file