mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Merge pull request #6181 from tertsdiepraam/lets-fix-this-bleeping-release
CI: change publish step condition
This commit is contained in:
commit
d7434d4198
1 changed files with 1 additions and 4 deletions
5
.github/workflows/CICD.yml
vendored
5
.github/workflows/CICD.yml
vendored
|
@ -541,9 +541,6 @@ jobs:
|
||||||
PKG_BASENAME=${PROJECT_NAME}-${REF_TAG:-$REF_SHAS}-${{ matrix.job.target }}
|
PKG_BASENAME=${PROJECT_NAME}-${REF_TAG:-$REF_SHAS}-${{ matrix.job.target }}
|
||||||
PKG_NAME=${PKG_BASENAME}${PKG_suffix}
|
PKG_NAME=${PKG_BASENAME}${PKG_suffix}
|
||||||
outputs PKG_suffix PKG_BASENAME PKG_NAME
|
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?
|
# DPKG architecture?
|
||||||
unset DPKG_ARCH
|
unset DPKG_ARCH
|
||||||
case ${{ matrix.job.target }} in
|
case ${{ matrix.job.target }} in
|
||||||
|
@ -749,7 +746,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
- name: Publish
|
- name: Publish
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
if: steps.vars.outputs.DEPLOY
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_NAME }}
|
${{ steps.vars.outputs.STAGING }}/${{ steps.vars.outputs.PKG_NAME }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue