Release
This commit is contained in:
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- name: Build ${{ matrix.goos }} ${{ matrix.goarch }}
|
||||
- name: Build raw binaries
|
||||
env:
|
||||
GOOS: ${{ matrix.goos }}
|
||||
GOARCH: ${{ matrix.goarch }}
|
||||
@@ -48,10 +48,10 @@ jobs:
|
||||
outfile="${BINARY_NAME}_${{ matrix.goos }}_${{ matrix.goarch }}"
|
||||
go build -o "dist/${outfile}" .
|
||||
|
||||
- name: Upload binary artifact
|
||||
- name: Upload raw binary
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.BINARY_NAME }}_${{ matrix.goos }}_${{ matrix.goarch }}
|
||||
name: binaries
|
||||
path: dist/${{ env.BINARY_NAME }}_${{ matrix.goos }}_${{ matrix.goarch }}
|
||||
if-no-files-found: error
|
||||
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
- name: Upload source artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: source_tarball
|
||||
name: source
|
||||
path: dist/*source.tar.gz
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
- name: Download all artifacts flat
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: dist
|
||||
|
||||
Reference in New Issue
Block a user