ci: use latest version of chromatic cli #7
This file contains 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: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- target: x86_64-unknown-linux-gnu | |
extensions: tar.gz tar.gz.sha256 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.37 | |
- name: Setup Fluent CI CLI | |
run: deno install -A -r https://cli.fluentci.io -n fluentci | |
- name: Setup Dagger | |
run: | | |
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.8 sh | |
sudo mv bin/dagger /usr/local/bin | |
dagger version | |
- name: Set env | |
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | |
- name: Build | |
run: fluentci run . build | |
env: | |
TAG: ${{ env.RELEASE_VERSION }} | |
TARGET: ${{ matrix.target }} |