Skip to content

Continue on error

Continue on error #49

Workflow file for this run

name: Package and release on Github
on:
push:
branches:
- main
jobs:
build-debs:
strategy:
matrix:
runner: [ubuntu-latest, shopify-ubuntu-arm64]
runs-on: ${{ matrix.runner }}
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.16
- name: Building Ghostferry
run: .github/workflows/build-deb.sh
- name: Upload debs
uses: actions/upload-artifact@v4
with:
name: debs-${{ github.sha }}-${{ matrix.runner }}
path: build/ghostferry*
release:
runs-on: ubuntu-latest
needs: build-debs
steps:
- uses: actions/checkout@v4
- name: Fetch uploaded artifacts
uses: actions/download-artifact@v4
with:
pattern: debs-${{ github.sha }}-*
+ merge-multiple: true
- name: shasum

Check failure on line 41 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 41
shell: bash
run: |
sha256sum *.deb > ghostferry-$GITHUB_SHA.sha256sum
echo "sha256sum:"
cat ghostferry-$GITHUB_SHA.sha256sum
- name: Releasing Ghostferry to Github
run: gh release create --target ${GITHUB_REF#refs/heads/} -p release-${GITHUB_SHA::7} ghostferry*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}