Skip to content

Commit

Permalink
Enable workflow for build only
Browse files Browse the repository at this point in the history
Signed-off-by: Kim Christensen <[email protected]>
  • Loading branch information
kichristensen committed Aug 19, 2024
1 parent 700cc19 commit 7292454
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/tofu-mixin.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 7292454

Please sign in to comment.