Skip to content

add release workflow script #1

add release workflow script

add release workflow script #1

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
create-release:
permissions:
contents: write
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: get version
run: |
echo "::set-output name=version::$(ruby .github/workflows/fetch_release.rb --version)"

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
- name: download artifacts and create release
id: download_artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: "ruby .github/workflows/fetch_release.rb"