Skip to content

deleted all other Workflows so tit will be faster #3

deleted all other Workflows so tit will be faster

deleted all other Workflows so tit will be faster #3

name: "Load Config"
on:
push:
branches:
- feature/workflow
jobs:
load-config:
runs-on: ubuntu-latest
outputs:
core_version: ${{ steps.set-vars.outputs.core_version }}
packages: ${{ steps.set-vars.outputs.packages }}
steps:
- uses: actions/checkout@v4
# Read and parse moox-workflow.json
- id: set-vars
run: |
core_version=$(jq -r '.core_version' moox-workflow.json)
packages=$(jq -r '.packages | join(",")' moox-workflow.json)
echo "CORE_VERSION=${core_version}" >> $GITHUB_ENV
echo "PACKAGES=${packages}" >> $GITHUB_ENV
echo "::set-output name=core_version::$core_version"
echo "::set-output name=packages::$packages"