Skip to content

feat!: Drop WASM target, add Docker #34

feat!: Drop WASM target, add Docker

feat!: Drop WASM target, add Docker #34

Workflow file for this run

name: Examples
on:
workflow_call:
pull_request:
paths:
- 'docs/examples/**'
- '.github/workflows/examples.yaml'
permissions:
packages: write
contents: read
jobs:
poetry:
name: Poetry
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: extractions/setup-just@v2
- run: pip install poetry
- name: Version
id: version
run: |
echo "VERSION=0.0.1+example-poetry-$(git rev-parse --short HEAD)" >> "$GITHUB_OUTPUT"
- name: Publish
run: |
just examples poetry-publish "${{ steps.version.outputs.VERSION }}" "${{ github.actor }}" "${{ secrets.GITHUB_TOKEN }}"
- name: Install
run: |
just examples poetry-install "${{ steps.version.outputs.VERSION }}" "${{ github.actor }}" "${{ secrets.GITHUB_TOKEN }}"