From ad15e4fd4e8d256739642961739fff31488eff2b Mon Sep 17 00:00:00 2001 From: fishinitself Date: Thu, 5 Oct 2023 15:21:40 +0300 Subject: [PATCH] Create check-and-register.yml --- .github/workflows/check-and-register.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/check-and-register.yml diff --git a/.github/workflows/check-and-register.yml b/.github/workflows/check-and-register.yml new file mode 100644 index 0000000..2023ccd --- /dev/null +++ b/.github/workflows/check-and-register.yml @@ -0,0 +1,15 @@ +name: Check for artifact and register release + +on: + workflow_run: + workflows: ["Gradle Release"] + types: + - completed + +jobs: + build: + uses: octopusden/octopus-base/.github/workflows/common-check-and-register-release.yml@2.1.7 + if: "${{ github.event.workflow_run.conclusion == 'success' }}" + with: + artifact-pattern: "octopus-release-management/org.octopusden.octopus-release-management/_VER_/org.octopusden.octopus-release-management-_VER_.jar" + secrets: inherit