ci: update plugin workflow #5
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
# Do not edit this file directly. It is generated by Fluent Github Actions | |
name: plugin | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Fluent CI Engine CLI | |
run: | | |
wget https://github.com/fluentci-io/fluentci-engine/releases/download/v0.2.5/fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz | |
tar xvf fluentci-engine_v0.2.5_x86_64-unknown-linux-gnu.tar.gz | |
sudo mv fluentci-engine /usr/local/bin | |
- name: Build | |
run: | | |
fluentci-engine call -m $MODULE -- \ | |
target_add wasm32-unknown-unknown | |
fluentci-engine call -m $MODULE -- \ | |
build \ | |
--target wasm32-unknown-unknown \ | |
--release | |
ls -ltr target/wasm32-unknown-unknown/release/ | |
working-directory: plugin | |
env: | |
MODULE: https://github.com/fluent-ci-templates/rust-pipeline/releases/download/v0.10.1/rust.wasm |