Skip to content

Adding basic structure for additional workflows format and release #1

Adding basic structure for additional workflows format and release

Adding basic structure for additional workflows format and release #1

Workflow file for this run

name: Build-Env Docker Image

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

`jobs` is not a valid event name
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
on:
pull_request:
push:
tags:
- "v*.*.*(-.*)?"
branches: master
jobs:
build-checks:
uses: ./.github/workflows/build.yml
release:
needs: [build-checks]
name: release
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
permissions:
contents: write
steps:
#TODO https://github.com/quickjs-ng/quickjs/blob/master/.github/workflows/release.yml or https://github.com/saghul/txiki.js/blob/master/.github/workflows/release.yml for reference?