From 8db76c900c5be99213e4ffc32cb1e62a76104239 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 24 Apr 2024 12:38:28 -0500 Subject: [PATCH 1/2] Revert "CI: change publish step condition" This reverts commit da0b580504f320b11f9701253825d64a9996292e. --- .github/workflows/CICD.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index c5aa7ee80..fbc4bccac 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -541,6 +541,9 @@ jobs: PKG_BASENAME=${PROJECT_NAME}-${REF_TAG:-$REF_SHAS}-${{ matrix.job.target }} PKG_NAME=${PKG_BASENAME}${PKG_suffix} outputs PKG_suffix PKG_BASENAME PKG_NAME + # deployable tag? (ie, leading "vM" or "M"; M == version number) + unset DEPLOY ; if [[ $REF_TAG =~ ^[vV]?[0-9].* ]]; then DEPLOY='true' ; fi + outputs DEPLOY # DPKG architecture? unset DPKG_ARCH case ${{ matrix.job.target }} in @@ -746,7 +749,7 @@ jobs: fi - name: Publish uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') + if: steps.vars.outputs.DEPLOY with: files: | ${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_NAME }} From df3c3f31e198467e2baeee111b6310628a73774c Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 24 Apr 2024 13:18:00 -0500 Subject: [PATCH 2/2] fix/CI ~ re-enable artifact deployment for version tagged commits --- .github/workflows/CICD.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/CICD.yml b/.github/workflows/CICD.yml index fbc4bccac..301946816 100644 --- a/.github/workflows/CICD.yml +++ b/.github/workflows/CICD.yml @@ -19,6 +19,7 @@ on: pull_request: push: tags: + - '*' branches: - main