Fix handling of non-transient errors when processing doc-compare task… #3
Workflow file for this run
This file contains hidden or 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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*.*.*' | |
| env: | |
| TARGETS: | | |
| linux/amd64 | |
| linux/arm64 | |
| darwin/arm64 | |
| permissions: | |
| contents: write | |
| jobs: | |
| build-and-release: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| - name: Build | |
| run: | | |
| for target in $TARGETS; do | |
| export GOOS=${target%/*} | |
| export GOARCH=${target#*/} | |
| ./build.sh | |
| mv migration_verifier migration_verifier_${GOOS}_${GOARCH} | |
| done | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| files: migration_verifier_* |