ci: publish wasm to ghcr #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
name: ci | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
example: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup example | |
run: | | |
mkdir -p example/.fluentci | |
cp -r src example/.fluentci | |
cp Cargo.toml example/.fluentci | |
cp Cargo.lock example/.fluentci | |
- name: Setup Fluent CI CLI | |
uses: fluentci-io/setup-fluentci@v5 | |
with: | |
wasm: true | |
plugin: . | |
args: | | |
setup | |
working-directory: example | |
env: | |
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Show apko version | |
run: | | |
type apko | |
apko version |