Skip to content

Merge pull request #10 from dgannon991/feature/9/readme-tweaks #7

Merge pull request #10 from dgannon991/feature/9/readme-tweaks

Merge pull request #10 from dgannon991/feature/9/readme-tweaks #7

Workflow file for this run

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:
# GITHUB_TOKEN: "${{ secrets.PUBLISH_TOKEN }}"
# run: mage Publish