From a3772c49c712bf465a7161285cd74100526701f4 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Fri, 3 Nov 2023 14:14:09 +0100 Subject: [PATCH] Merge variables. --- action.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/action.yml b/action.yml index 952a606..eb1e9d0 100644 --- a/action.yml +++ b/action.yml @@ -16,6 +16,18 @@ inputs: decsription: changelog entry default: "Rebuild for Garden Linux." required: true + repository: + type: string + default: ${{ github.repository }} + ref: + type: string + default: ${{ github.sha }} + build_container: + type: string + default: ghcr.io/gardenlinux/package-build + dependencies: + type: string + default: "" env: INPUT_EMAIL: ${{ inputs.email }} @@ -23,21 +35,6 @@ env: INPUT_DIST: ${{ inputs.distribution }} INPUT_MESSAGE: ${{ inputs.message }} -on: - workflow_call: - inputs: - repository: - type: string - default: ${{ github.repository }} - ref: - type: string - default: ${{ github.sha }} - build_container: - type: string - default: ghcr.io/gardenlinux/package-build - dependencies: - type: string - default: "" runs: source: name: source package