Skip to content

Merge pull request #359 from OpenWebGAL/dev #40

Merge pull request #359 from OpenWebGAL/dev

Merge pull request #359 from OpenWebGAL/dev #40

Workflow file for this run

name: Release WebGAL Terre
on:
workflow_dispatch:
push:
tags:
- '*.*'
jobs:
release:

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

View workflow run for this annotation

GitHub Actions / Release WebGAL Terre

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 9, Col: 3): The workflow must contain at least one job with no dependencies.
name: Release
runs-on: ubuntu-latest
needs: ['build-linux','build-arm64','build-mac','build-windows','build-windows-nsis']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: WebGAL Terre ${{ github.ref }}
body_path: releasenote.md
draft: true
prerelease: false
- name: Upload Linux Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Linux/WebGAL_Terre_Linux.zip
asset_name: WebGAL_Terre_Linux_${{ github.ref_name }}.zip
asset_content_type: application/zip
- name: Upload Linux Arm64 Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Linux_Arm64/WebGAL_Terre_Linux_Arm64.zip
asset_name: WebGAL_Terre_Linux_Arm64_${{ github.ref_name }}.zip
asset_content_type: application/zip
- name: Upload MacOS Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Mac/WebGAL_Terre_Mac.zip
asset_name: WebGAL_Terre_Mac_${{ github.ref_name }}.zip
asset_content_type: application/zip
- name: Upload Windows Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Windows/WebGAL_Terre_Windows.zip
asset_name: WebGAL_Terre_Windows_${{ github.ref_name }}.zip
asset_content_type: application/zip
- name: Upload Windows Setup Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: WebGAL_Terre_Windows_Setup/WebGal_Terre_Setup.exe
asset_name: WebGAL_Terre_Windows_Setup_${{ github.ref_name }}.exe
asset_content_type: application/vnd.microsoft.portable-executable