Skip to content

allow inputs #7

allow inputs

allow inputs #7

Workflow file for this run

name: Release Artifacts for AI examples

Check failure on line 1 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

`inputs` is not a valid event name
on:
workflow_dispatch: {}
inputs:
app:
type: choice
description: Which app to build and push
options:
- newsfeeder-ts
tag:
type: string
description: 'new tag for this push'
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name:
- uses: actions/setup-node@v3
with:
node-version: 19
- name: setup spin
uses: fermyon/actions/spin/setup@v1
with:
version: v2.0.0
plugins: js2wasm
github_token: ${{ github.token }}
- name: npm install
working-directory: ${{ github.events.inputs.app }}
run: npm install
- name: build and push
uses: fermyon/actions/spin/push@v1
with:
registry: ${{ env.REGISTRY }}
registry_username: ${{ github.actor }}
registry_password: ${{ secrets.GITHUB_TOKEN }}
registry_reference: "${{ env.REGISTRY }}/fermyon/${{ github.events.inputs.app }}:${{ github.events.inputs.tag }}"
manifest_file: ${{ github.events.inputs.app }}/spin.toml