From cc1514025d055867b0866468db5322ddee9438e2 Mon Sep 17 00:00:00 2001 From: schristoff <28318173+schristoff@users.noreply.github.com> Date: Thu, 29 Feb 2024 22:22:23 -0700 Subject: [PATCH] Add workflow porter/aws-mixin --- .github/workflows/aws-mixin.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/aws-mixin.yml diff --git a/.github/workflows/aws-mixin.yml b/.github/workflows/aws-mixin.yml new file mode 100644 index 0000000..5ed25c4 --- /dev/null +++ b/.github/workflows/aws-mixin.yml @@ -0,0 +1,31 @@ +name: porter/aws-mixin +on: + push: + branches: + - main + - v* + pull_request: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4.1.0 +# # 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