From ffe0091f4e12a3fca17368bb516ef9e659300c12 Mon Sep 17 00:00:00 2001 From: HanneThienpondt Date: Mon, 23 Sep 2024 19:10:51 +0200 Subject: [PATCH] try again --- .github/workflows/build_stella.yml | 13 ++++--------- .github/workflows/numerical_checks_mac.yml | 3 ++- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build_stella.yml b/.github/workflows/build_stella.yml index 30b9062116..b007fb5977 100644 --- a/.github/workflows/build_stella.yml +++ b/.github/workflows/build_stella.yml @@ -1,13 +1,7 @@ -# Define jobs which can be called by other workflows +# Define a composite action which can be called by other workflows # Takes the OS operating system as an input name: Build stella (script) -on: - workflow_call: - inputs: - os: - type: string - required: true # We always run in a bash shell defaults: @@ -18,9 +12,10 @@ defaults: #----------------------------------------------------------------------- # Build stella #----------------------------------------------------------------------- -jobs: +runs: - build-stella: + # Bundle several commands or actions into a single, reusable unit + using: "composite" # Operating system runs-on: ${{ inputs.os }} diff --git a/.github/workflows/numerical_checks_mac.yml b/.github/workflows/numerical_checks_mac.yml index fb3471f436..5ab4eeae25 100644 --- a/.github/workflows/numerical_checks_mac.yml +++ b/.github/workflows/numerical_checks_mac.yml @@ -65,7 +65,8 @@ jobs: - name: "3 - Gyrokinetic equation" - name: "4 - Flux tube" - name: "5 - Diagnostics" - + + # Steps steps: # Install dependencies