Skip to content

fix: Do 2153 pr artifacts #27

fix: Do 2153 pr artifacts

fix: Do 2153 pr artifacts #27

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.20.5
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run GoReleaser
id: releaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: build --snapshot --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload Artifacts
# uses: actions/upload-artifact@v4
# with:
# name: ${{ matrix.binary }}-${{ fromJson(steps.releaser.outputs.metadata).tag }}-${{ fromJson(steps.releaser.outputs.metadata).runtime.goos }}-${{ fromJson(steps.releaser.outputs.metadata).runtime.goarch }}
# path: cmd/${{ matrix.binary }}/dist/*