Skip to content

Workflow file for this run

name: release automation
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nim
id: install-nim
run:
curl https://nim-lang.org/choosenim/init.sh > install.sh

Check failure on line 15 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 15
./install.sh
export PATH="~/nimble/bin:$PATH"
echo $PATH
- name: Compile Takajo
id: compile-takajo
run: |
nimble update
nimble build -d:release --threads:on
# 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.