Skip to content

Merge branch 'main' into remove-dockerhub-creds #611

Merge branch 'main' into remove-dockerhub-creds

Merge branch 'main' into remove-dockerhub-creds #611

Workflow file for this run

---
name: goreleaser
on:
pull_request:
push:
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: echo "flags=--snapshot" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean ${{ env.flags }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
- name: Upload Windows binary
uses: actions/upload-artifact@v4
with:
name: apppack_windows_amd64
path: dist/apppack_windows_amd64_v1
- name: Upload Darwin binary
uses: actions/upload-artifact@v4
with:
name: apppack_darwin_amd64
path: dist/apppack_darwin_amd64_v1
- name: Upload Darwin binary (ARM)
uses: actions/upload-artifact@v4
with:
name: apppack_darwin_arm64
path: dist/apppack_darwin_arm64
- name: Upload Linux binary
uses: actions/upload-artifact@v4
with:
name: apppack_linux_amd64
path: dist/apppack_linux_amd64_v1