Skip to content

Commit

Permalink
Add workflow porter/terraform-mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
schristoff committed Mar 1, 2024
1 parent e4c70bb commit 7cdd83b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/terraform-mixin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: porter/terraform-mixin
on:
push:
branches:
- main
- v*
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/[email protected]
# # This item has no matching transformer
# - task: GoTool@0
# inputs:
# version: 1.19.2
# displayName: Install Go
- 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.GITHUB_TOKEN }}"
run: mage Publish

0 comments on commit 7cdd83b

Please sign in to comment.