Skip to content

Commit

Permalink
Dispatch test runner in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benbjohnson committed Jan 28, 2022
1 parent dbdde21 commit f8382cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- arch: amd64
cc: gcc
static: true
deploy_test_runner: true

- arch: arm64
cc: aarch64-linux-gnu-gcc
Expand Down Expand Up @@ -123,3 +124,10 @@ jobs:
asset_path: ./dist/litestream-${{ env.VERSION }}-${{ env.GOOS }}-${{ env.GOARCH }}${{ env.GOARM }}${{ env.SUFFIX }}.deb
asset_name: litestream-${{ env.VERSION }}-${{ env.GOOS }}-${{ env.GOARCH }}${{ env.GOARM }}${{ env.SUFFIX }}.deb
asset_content_type: application/octet-stream

- name: Dispatch test runner
if: matrix.deploy_test_runner
run: sleep 60 && gh workflow run deploy.yml -R benbjohnson/litestream-test-runner -f run_id=${{ github.run_id }} -f litestream_version=${{ github.sha }}
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}

0 comments on commit f8382cf

Please sign in to comment.