Skip to content

Takajo Release Automation #12

Takajo Release Automation

Takajo Release Automation #12

Workflow file for this run

name: release automation
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: '2.x' # default is 'stable'
- name: Build check
run: nimble build --threads:on -Y
# A release created by shogo82148/actions-create-release is alway draft here.
# So users may not see an empty release.
- name: Upload Assets
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: assets.txt
# shogo82148/actions-create-release publishes the release in the end of the job.
# Users now can download `assets.txt` from the release page.