chore: release v0.3.1 #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚢 Publish | |
on: | |
push: | |
tags: | |
- '*' | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -leo pipefail {0} | |
steps: | |
- name: 💻 Checkout current code ref | |
uses: actions/checkout@v4 | |
- name: Configure AWS Credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-access-key-id: ${{ vars.AWS_ACCESS_KEY_ID }} | |
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws-region: us-east-1 | |
- name: Install deployment system dependencies | |
run: pip install --upgrade awscli | |
- name: 🔵 Set up Go on runner | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- name: 🚀 Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{secrets.DEVOPS_USER_TOKEN}} |