Skip to content

Update corral.json in preparation for 0.2.1 release #1

Update corral.json in preparation for 0.2.1 release

Update corral.json in preparation for 0.2.1 release #1

Workflow file for this run

name: Release
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
concurrency: release
permissions:
contents: read
pages: write
id-token: write
packages: read
jobs:
# validation to assure that we should in fact continue with the release should
# be done here. the primary reason for this step is to verify that the release
# was started correctly by pushing a `release-X.Y.Z` tag rather than `X.Y.Z`.
pre-artefact-creation:
name: Tasks to run before artefact creation
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/[email protected]
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
- name: Validate CHANGELOG
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3
with:
entrypoint: pre-artefact-changelog-check
generate-documentation:
name: Generate documentation for release
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs:
- pre-artefact-creation
container:
image: ghcr.io/ponylang/library-documentation-action-v2-insiders:release
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
- name: Generate documentation
run: /entrypoint.py
env:
INPUT_SITE_URL: "https://ponylang.github.io/pony_language_server/"
INPUT_LIBRARY_NAME: "lsp"
INPUT_DOCS_BUILD_DIR: "build/lsp-docs"
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'build/lsp-docs/site/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
trigger-release-announcement:
name: Trigger release announcement
runs-on: ubuntu-latest
needs:
- generate-documentation
steps:
- uses: actions/[email protected]
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
- name: Trigger
uses: docker://ghcr.io/ponylang/release-bot-action:0.6.3
with:
entrypoint: trigger-release-announcement
env:
GIT_USER_NAME: "Ponylang Main Bot"
GIT_USER_EMAIL: "[email protected]"