Skip to content

add release pipeline #1

add release pipeline

add release pipeline #1

Workflow file for this run

releasename: Release

Check failure on line 1 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yaml

Invalid workflow file

The workflow is not valid. .github/workflows/release.yaml (Line: 1, Col: 1): Unexpected value 'releasename'
on:
push:
tags: [v*]
permissions:
contents: read
jobs:
github-release:
runs-on: ubuntu-latest
timeout-minutes: 5
environment:
name: publish
url: https://github.com/NewFuture/NKThesis/releases/tag/${{ github.ref_name }}
permissions:
contents: write
needs: [publish-docker, publish-pypi, build-binary]
steps:
- uses: actions/checkout@v4
# install dependencies
- name: install
run: ./init.sh
- name: build
run: ./build.cmd
- name: upload to release
run: 'gh release upload ${{github.event.release.tag_name}} main.pdf#NKThesis.pdf'