Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Fix fetch.yml (#128) #365

Fix fetch.yml (#128)

Fix fetch.yml (#128) #365

Workflow file for this run

name: Build and release for all platforms
on:
push:
branches: [main]
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
check_version:
name: Check version
uses: ./.github/workflows/check-version-tag.yml
fetch:
needs: [check_version]
if: ${{ needs.check_version.outputs.should_run != 'false' }}
name: Fetch
uses: ./.github/workflows/fetch.yml
with:
runner_label: macro-linux
build_release:
needs: [check_version, fetch]
if: ${{ needs.check_version.outputs.should_run != 'false' }}
strategy:
fail-fast: false
matrix:
include:
- name: Windows x64
os: macro-windows
runner: WINDOWS_RUNNER_INSTANCE_ID
working_dir: /r/el
- name: Linux x64
os: macro-linux
runner: LINUX_RUNNER_INSTANCE_ID
working_dir: /r/el
name: Build for ${{ matrix.name }}
uses: ./.github/workflows/build.yml

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

View workflow run for this annotation

GitHub Actions / Build and release for all platforms

Invalid workflow file

The workflow is not valid. In .github/workflows/release.yml (Line: 38, Col: 11): Error from called workflow coparse-inc/electron-libreoffice/.github/workflows/build.yml@472febb7f0a84509dc95da806a55556bd564769d (Line: 16, Col: 3): The workflow must contain at least one job with no dependencies.
with:
runner_label: ${{ matrix.os }}
working_dir: ${{ matrix.working_dir }}
version: ${{ needs.check_version.outputs.version }}
build_release_mac:
name: Build for Mac ${{ matrix.name }}
if: ${{ needs.check_version.outputs.should_run != 'false' }}
strategy:
fail-fast: false
matrix:
include:
# - name: x86_64
# runner: macro-x641
- name: arm64
runner: macro-arm1
needs: [check_version]
uses: ./.github/workflows/build_mac.yml
with:
version: ${{ needs.check_version.outputs.version }}
runner_label: ${{ matrix.runner }}
generate_sha:
name: Generate SHA
needs: [check_version, build_release, build_release_mac]
uses: ./.github/workflows/generate-sha.yml
with:
version: ${{ needs.check_version.outputs.version }}
publish:
name: Publish Electron to NPM Registry
needs: [check_version, generate_sha]
uses: ./.github/workflows/publish.yml
with:
version: ${{ needs.check_version.outputs.version }}
secrets:
NPM_AUTH: ${{ secrets.NPM_AUTH }}