Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions .github/workflows/migrate-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ jobs:
goarch: [amd64, arm64]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'

- name: Build binary
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: |
mkdir -p dist
binary_name=migrate-${{ matrix.goos }}-${{ matrix.goarch }}
go build -o dist/${binary_name}

- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
files: dist/*
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'

- name: Build binary
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
run: |
mkdir -p dist
binary_name=migrate-${{ matrix.goos }}-${{ matrix.goarch }}-${{ github.ref_name }}
go build -o dist/${binary_name}

- name: Upload release assets
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ github.ref_name }}
files: dist/*
Binary file removed migrate_linux_amd64
Binary file not shown.
Binary file removed migrate_macos_amd64
Binary file not shown.
Binary file removed migrate_macos_arm64
Binary file not shown.