mirror of
https://github.com/pldubouilh/blockfast.git
synced 2026-08-28 04:46:58 -04:00
33 lines
623 B
YAML
33 lines
623 B
YAML
name: deploy
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Run tests
|
|
run: make ci
|
|
|
|
- name: Install Cross
|
|
run: cargo install cross --git https://github.com/cross-rs/cross
|
|
|
|
- name: Build all artifacts
|
|
run: make build-all
|
|
|
|
- name: "Release gh release latest"
|
|
uses: ncipollo/release-action@v1
|
|
with:
|
|
tag: latest
|
|
name: Latest
|
|
allowUpdates: true
|
|
artifacts: "builds/*"
|
|
bodyFile: "builds/buildout"
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|