mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-17 10:25:56 +02:00
Cleanup
This commit is contained in:
parent
311d316601
commit
a9e0928d76
10
.github/workflows/AlmaLinux.yml
vendored
10
.github/workflows/AlmaLinux.yml
vendored
@ -1,7 +1,7 @@
|
|||||||
# See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
|
# See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
|
||||||
|
|
||||||
# Workflow name
|
# Workflow name
|
||||||
name: Run Test
|
name: AlmaLinux 8.5 RPM build
|
||||||
|
|
||||||
# Run on event push
|
# Run on event push
|
||||||
on: push
|
on: push
|
||||||
@ -9,21 +9,22 @@ on: push
|
|||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
#
|
#
|
||||||
# Job build-1-16
|
|
||||||
# Build on AlmaLinux 8.5 using golang version 1.16
|
# Build on AlmaLinux 8.5 using golang version 1.16
|
||||||
#
|
#
|
||||||
AlmaLinux-rpmbuild:
|
AlmaLinux-RPM-build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: almalinux:8.5
|
container: almalinux:8.5
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
# Use dnf to install required dependencies
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
dnf --assumeyes group install "Development Tools" "RPM Development Tools"
|
dnf --assumeyes group install "Development Tools" "RPM Development Tools"
|
||||||
dnf --assumeyes install wget
|
dnf --assumeyes install wget
|
||||||
|
|
||||||
# See: https://github.com/marketplace/actions/checkout
|
|
||||||
# Checkout git repository and submodules
|
# Checkout git repository and submodules
|
||||||
|
# fetch-depth must be 0 to use git describe
|
||||||
|
# See: https://github.com/marketplace/actions/checkout
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -44,7 +45,6 @@ jobs:
|
|||||||
SRPM=~/rpmbuild/SRPMS/*.src.rpm
|
SRPM=~/rpmbuild/SRPMS/*.src.rpm
|
||||||
echo ::set-output name="SRPM::${SRPM}"
|
echo ::set-output name="SRPM::${SRPM}"
|
||||||
echo ::set-output name="RPM::${RPM}"
|
echo ::set-output name="RPM::${RPM}"
|
||||||
echo ::set-output name="rpm_content_type::application/octet-stream"
|
|
||||||
|
|
||||||
# See: https://github.com/actions/upload-artifact
|
# See: https://github.com/actions/upload-artifact
|
||||||
- name: Save RPM as artifact
|
- name: Save RPM as artifact
|
||||||
|
Loading…
x
Reference in New Issue
Block a user