From b2f75dfbc9e90d7f7cdfcce7a083cf85080ea384 Mon Sep 17 00:00:00 2001 From: Alper Rifat Ulucinar Date: Wed, 21 Jun 2023 13:51:56 +0300 Subject: [PATCH] Remove "version" parameter from the "Provider Publish Service Artifacts" reusable workflow Signed-off-by: Alper Rifat Ulucinar --- .github/workflows/provider-publish-service-artifacts.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/provider-publish-service-artifacts.yml b/.github/workflows/provider-publish-service-artifacts.yml index 8d3858a..de60a27 100644 --- a/.github/workflows/provider-publish-service-artifacts.yml +++ b/.github/workflows/provider-publish-service-artifacts.yml @@ -8,10 +8,6 @@ on: default: 'monolith' required: false type: string - version: - description: 'Provider version (e.g. v0.1.0)' - required: true - type: string size: description: "Number of packages to build and push with each matrix build job" default: '30' @@ -127,7 +123,7 @@ jobs: if [ $num_packages -gt 10 ]; then num_packages=10 fi - make -j $num_packages SUBPACKAGES="${{ steps.packages.outputs.target }}" XPKG_REG_ORGS=xpkg.upbound.io/upbound XPKG_REG_ORGS_NO_PROMOTE=xpkg.upbound.io/upbound VERSION=${{ inputs.version }} build.all + make -j $num_packages SUBPACKAGES="${{ steps.packages.outputs.target }}" XPKG_REG_ORGS=xpkg.upbound.io/upbound XPKG_REG_ORGS_NO_PROMOTE=xpkg.upbound.io/upbound build.all echo "num_packages=$num_packages" >> $GITHUB_OUTPUT env: # We're using docker buildx, which doesn't actually load the images it @@ -136,4 +132,4 @@ jobs: - name: Publish Artifacts run: | - make -j ${{ steps.build_artifacts.outputs.num_packages }} SUBPACKAGES="${{ steps.packages.outputs.target }}" XPKG_REG_ORGS=xpkg.upbound.io/upbound XPKG_REG_ORGS_NO_PROMOTE=xpkg.upbound.io/upbound BRANCH_NAME=main VERSION=${{ inputs.version }} CONCURRENCY="${{ inputs.concurrency }}" publish + make -j ${{ steps.build_artifacts.outputs.num_packages }} SUBPACKAGES="${{ steps.packages.outputs.target }}" XPKG_REG_ORGS=xpkg.upbound.io/upbound XPKG_REG_ORGS_NO_PROMOTE=xpkg.upbound.io/upbound CONCURRENCY="${{ inputs.concurrency }}" publish