Update corral.json in preparation for 0.6.0 release #21
Workflow file for this run
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: 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/checkout@v4.1.1 | |
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/checkout@v4.1.1 | |
with: | |
ref: "main" | |
token: ${{ secrets.RELEASE_TOKEN }} | |
- name: Generate documentation | |
run: /entrypoint.py | |
env: | |
INPUT_SITE_URL: "https://ponylang.github.io/http_server/" | |
INPUT_LIBRARY_NAME: "http_server" | |
INPUT_DOCS_BUILD_DIR: "build/http_server-docs" | |
- name: Setup Pages | |
uses: actions/configure-pages@v2 | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: 'build/http_server-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/checkout@v4.1.1 | |
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: "ponylang.main@gmail.com" |