Skip to content

Create Release

Create Release #1

Workflow file for this run

name: Create Release
on:
workflow_dispatch: # Allows manual triggering
push:
tags:
- v* # Triggers on pushes to tags starting with "v"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run release script
run: ./release.sh
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.releases.upload_url 1 }} # Get upload URL from previous step

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

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 21, Col: 23): Unexpected symbol: '1'. Located at position 28 within expression: github.releases.upload_url 1
asset_path: ./release.tar.gz
asset_name: release.tar.gz
asset_content_type: application/gzip # Optional: Specify content type