add --metadata and --tag during put operations #785
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: goreleaser | |
on: | |
pull_request: | |
types: [ opened, reopened, synchronize ] | |
branches: | |
- 'master' | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
- | |
name: Unshallow | |
run: git fetch --prune --unshallow | |
- | |
name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.22.x | |
- | |
name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
version: latest | |
args: release --clean --skip=publish --snapshot | |
- | |
name: Upload Win64 Binaries | |
uses: actions/upload-artifact@v4 | |
if: success() | |
with: | |
name: Warp-Snapshot-Build-Win64 | |
path: dist/warp_windows_amd64_v1 | |
- | |
name: Upload Linux Binaries | |
uses: actions/upload-artifact@v4 | |
if: success() | |
with: | |
name: Warp-Snapshot-Build-Linux-amd64 | |
path: dist/warp_linux_amd64_v1 | |
- | |
name: Upload MacOS Binaries | |
uses: actions/upload-artifact@v4 | |
if: success() | |
with: | |
name: Warp-Snapshot-Build-MacOSX-amd64 | |
path: dist/warp_darwin_amd64_v1 |