Skip to content

Workflow file for this run

---
name: Create Release
on:
pull_request:
branches: [main, development]
push:
# tags:
# - "v*.*.*"
jobs:
release:

Check failure on line 12 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: 12, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-22.04
needs: build
if: github.ref != 'refs/heads/development'
steps:
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v2.27.0
with:
github_token: ${{secrets.GITHUB_TOKEN}}
workflow: build.yml
workflow_conclusion: success
repo: ${{ github.repository }}
pr: ${{github.event.pull_request.number}}
if_no_artifact_found: fail
skip_unpack: true
- name: Test
run: cat *.zip/sha | grep $GITHUB_SHA
- name: Display structure of downloaded files
run: ls -R
# - name: Release
# uses: softprops/action-gh-release@v1
# if: startsWith(github.ref, 'refs/tags/')
# with:
# files: |
# Release.txt
# LICENSE