Skip to content

skip non-linux for now #15

skip non-linux for now

skip non-linux for now #15

name: Mike test build
on:
push:
jobs:
go-versions:
uses: ./.github/workflows/go-versions.yml
release-please:
runs-on: ubuntu-latest
outputs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{secrets.GITHUB_TOKEN}}
release-ldcli:
permissions:
id-token: write # Needed to obtain Docker tokens
contents: write # Needed to upload release artifacts
needs: [ release-please, go-versions ]
runs-on: ubuntu-latest
outputs:
hashes: ${{ steps.publish.outputs.hashes }}
steps:
- uses: actions/checkout@v4
name: Checkout
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ needs.go-versions.outputs.latest }}
- uses: launchdarkly/gh-actions/actions/[email protected]
name: 'Get Docker token'
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
ssm_parameter_pairs: '/global/services/docker/public/username = DOCKER_USERNAME, /global/services/docker/public/token = DOCKER_TOKEN'
- uses: ./.github/actions/mike-test-build
id: publish
with:
dry-run: 'true'
token: ${{ secrets.GITHUB_TOKEN }}
homebrew-gh-secret: ${{secrets.HOMEBREW_DEPLOY_KEY}}
tag: ${{ needs.release-please.outputs.tag_name }}