Skip to content

ci: publish wasm to ghcr #3

ci: publish wasm to ghcr

ci: publish wasm to ghcr #3

Workflow file for this run

name: ci
on:
push:
branches:
- main
jobs:
example:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup example
run: |
mkdir -p demo/.fluentci
cp -r src demo/.fluentci
cp Cargo.toml demo/.fluentci
cp Cargo.lock demo/.fluentci
- name: Setup Fluent CI CLI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
plugin: .
args: |
setup
test
compile
package
working-directory: demo
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show sbt version, run tests and build
run: |
type sbt
sbt --version
working-directory: demo