Skip to content

Update github workflow. #25

Update github workflow.

Update github workflow. #25

name: Continuous Integration
on:
push:
branches: ["main"]
pull_request:
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: aiken-lang/setup-aiken@v1
with:
version: v1.0.29-alpha
- run: aiken fmt --check
- run: aiken check -D
- run: aiken build
- run: aiken docs -o docs
- uses: actions/upload-pages-artifact@v2
with:
path: "docs/"
publish-documentation:
# Uncomment when stable.
#
# if: ${{ startsWith(github.ref, 'refs/tags') }}
if: ${{ github.event_name == 'push' }}
needs: check

Check failure on line 42 in .github/workflows/continuous-integration.yml

View workflow run for this annotation

GitHub Actions / Continuous Integration

Invalid workflow file

The workflow is not valid. .github/workflows/continuous-integration.yml (Line: 42, Col: 12): Job 'publish-documentation' depends on unknown job 'check'.
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v1