From 7292454a6b68d7a233bcd0af3782b7ceef1af4bd Mon Sep 17 00:00:00 2001 From: Kim Christensen Date: Sat, 17 Aug 2024 23:14:26 +0200 Subject: [PATCH] Enable workflow for build only Signed-off-by: Kim Christensen --- .github/workflows/tofu-mixin.yml | 54 ++++++++++++++++---------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/.github/workflows/tofu-mixin.yml b/.github/workflows/tofu-mixin.yml index 2e52960..ce6af39 100644 --- a/.github/workflows/tofu-mixin.yml +++ b/.github/workflows/tofu-mixin.yml @@ -1,30 +1,30 @@ -#name: porter/tofu-mixin -#on: -# push: -# branches: -# - main -# - v* -# pull_request: -# branches: -# - main -#jobs: -# build: -# runs-on: ubuntu-latest -# steps: -# - name: checkout -# uses: actions/checkout@v4 -# with: -# fetch-depth: 0 -# - uses: actions/setup-go@v5 -# with: -# go-version-file: go.mod -# cache: true -# - name: Configure Agent -# run: go run mage.go ConfigureAgent -# - name: Test -# run: mage Test -# - name: Cross Compile -# run: mage XBuildAll +name: porter/tofu-mixin +on: + push: + branches: + - main + - v* + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - uses: actions/setup-go@v5 + with: + go-version-file: go.mod + cache: true + - name: Configure Agent + run: go run mage.go ConfigureAgent + - name: Test + run: mage Test + - name: Cross Compile + run: mage XBuildAll # - name: Publish # if: success() && github.event_name != 'PullRequest' # env: