Skip to content

Revert workflows to normal #41

Revert workflows to normal

Revert workflows to normal #41

Workflow file for this run

name: Release
on:
push:
branches:
- 'release/*'
paths-ignore:
- '.github/workflows/benchmark.yml'
- '.github/workflows/cacheConan.yml'
- '.github/workflows/cacheNix.yml'
- '.github/workflows/pr.yml'
- '.github/workflows/release.yml'
- '.github/workflows/web**'
- 'web/**'
- 'README.md'
jobs:
QC:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: "./.github/workflows/setup"
- name: Quality Control
uses: "./.github/workflows/qc"
Build:
needs: QC
strategy:
fail-fast: false
matrix:

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
include:
- os: macos-latest
osx_cmake_target: arm64
osx_conan_target: armv8
- os: macos-latest
cmake_target: x86_64
conan_target: x86_64
- os: windows-latest
runs-on: ${{ matrix.os }}
env:
OSX_CMAKE_TARGET: ${{ matrix.osx_cmake_target }}
OSX_CONAN_TARGET: ${{ matrix.osx_conan_target }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: "./.github/workflows/setup"
- name: Set Short Hash
uses: "./.github/workflows/set-short-hash"
- name: "Build (${{ matrix.os }})"
uses: "./.github/workflows/build"
BuildLinux:
needs: QC
strategy:
fail-fast: false
matrix:
target: [ dissolve, dissolve-gui ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: "./.github/workflows/setup"
- name: Set Short Hash
uses: "./.github/workflows/set-short-hash"
- name: "Build, Test, Package (Linux, ${{ matrix.target }})"
uses: "./.github/workflows/build"
with:
target: ${{ matrix.target }}
Package:
needs: [ Build, BuildLinux ]
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
osx_cmake_target: arm64
osx_conan_target: armv8
- os: macos-latest
cmake_target: x86_64
conan_target: x86_64
- os: windows-latest
runs-on: ${{ matrix.os }}
env:
OSX_CMAKE_TARGET: ${{ matrix.osx_cmake_target }}
OSX_CONAN_TARGET: ${{ matrix.osx_conan_target }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: "./.github/workflows/setup"
- name: "Package (${{ matrix.os }})"
uses: "./.github/workflows/package"
Publish:
needs: Package
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: "./.github/workflows/setup"
- name: Set Short Hash
uses: "./.github/workflows/set-short-hash"
- name: Publish
uses: "./.github/workflows/publish"
with:
isRelease: true
publish: ${{ ! endsWith(github.ref, 'pre') }}
env:
HARBOR_USER: ${{ secrets.HARBOR_USER }}
HARBOR_SECRET: ${{ secrets.HARBOR_SECRET }}
- name: Update Version Information
uses: "./.github/workflows/update-release-info"
with:
createPR: ${{ ! endsWith(github.ref, 'pre') }}
releaseVersion: ${{ env.dissolveVersion }}