mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-18 18:55:55 +02:00
Collect files and create fresh step outputs for release
This commit is contained in:
parent
e60be4894d
commit
2bd77846c7
42
.github/workflows/Release.yml
vendored
42
.github/workflows/Release.yml
vendored
@ -126,6 +126,7 @@ jobs:
|
|||||||
needs: [AlmaLinux-RPM-build, UBI-8-RPM-build]
|
needs: [AlmaLinux-RPM-build, UBI-8-RPM-build]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# See: https://github.com/actions/download-artifact
|
||||||
- name: Download AlmaLinux 8.5 RPM
|
- name: Download AlmaLinux 8.5 RPM
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
@ -143,18 +144,31 @@ jobs:
|
|||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: cc-metric-collector SRPM for UBI 8
|
name: cc-metric-collector SRPM for UBI 8
|
||||||
|
|
||||||
- name: Check files
|
|
||||||
run: ls *
|
|
||||||
|
|
||||||
# # See: https://github.com/softprops/action-gh-release
|
- name: Set RPM variables
|
||||||
# - name: Release
|
id: files
|
||||||
# uses: softprops/action-gh-release@v1
|
run: |
|
||||||
# if: startsWith(github.ref, 'refs/tags/')
|
ALMA_85_RPM=$(ls *alma85*.rpm)
|
||||||
# with:
|
ALMA_85_SRPM=$(ls *alma85*.srpm)
|
||||||
# name: cc-metric-collector-${{github.ref_name}}
|
UBI_8_RPM=$(ls *el8*.rpm)
|
||||||
# files: |
|
UBI_8_SRPM=$(ls *el8*.srpm)
|
||||||
# ${{ needs.AlmaLinux-RPM-build.outputs.RPM }}
|
echo "ALMA_85_RPM::${ALMA_85_RPM}"
|
||||||
# ${{ needs.AlmaLinux-RPM-build.outputs.SRPM }}
|
echo "ALMA_85_SRPM::${ALMA_85_SRPM}"
|
||||||
# ${{ needs.UBI-8-RPM-build.outputs.RPM }}
|
echo "UBI_8_RPM::${UBI_8_RPM}"
|
||||||
# ${{ needs.UBI-8-RPM-build.outputs.SRPM }}
|
echo "UBI_8_SRPM::${UBI_8_SRPM}"
|
||||||
|
echo "::set-output name=ALMA_85_RPM::${ALMA_85_RPM}"
|
||||||
|
echo "::set-output name=ALMA_85_SRPM::${ALMA_85_SRPM}"
|
||||||
|
echo "::set-output name=UBI_8_RPM::${UBI_8_RPM}"
|
||||||
|
echo "::set-output name=UBI_8_SRPM::${UBI_8_SRPM}"
|
||||||
|
|
||||||
|
# See: https://github.com/softprops/action-gh-release
|
||||||
|
- name: Release
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
name: cc-metric-collector-${{github.ref_name}}
|
||||||
|
files: |
|
||||||
|
${{ steps.files.outputs.ALMA_85_RPM }}
|
||||||
|
${{ steps.files.outputs.ALMA_85_SRPM }}
|
||||||
|
${{ steps.files.outputs.UBI_8_RPM }}
|
||||||
|
${{ steps.files.outputs.UBI_8_SRPM }}
|
Loading…
x
Reference in New Issue
Block a user