diff --git a/.github/workflows/AlmaLinux.yml b/.github/workflows/AlmaLinux.yml index b6c2842..78db9e6 100644 --- a/.github/workflows/AlmaLinux.yml +++ b/.github/workflows/AlmaLinux.yml @@ -1,7 +1,7 @@ # See: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions # Workflow name -name: Run Test +name: AlmaLinux 8.5 RPM build # Run on event push on: push @@ -9,21 +9,22 @@ on: push jobs: # - # Job build-1-16 # Build on AlmaLinux 8.5 using golang version 1.16 # - AlmaLinux-rpmbuild: + AlmaLinux-RPM-build: runs-on: ubuntu-latest container: almalinux:8.5 steps: + # Use dnf to install required dependencies - name: Install dependencies run: | dnf --assumeyes group install "Development Tools" "RPM Development Tools" dnf --assumeyes install wget - # See: https://github.com/marketplace/actions/checkout # Checkout git repository and submodules + # fetch-depth must be 0 to use git describe + # See: https://github.com/marketplace/actions/checkout - name: Checkout uses: actions/checkout@v2 with: @@ -44,7 +45,6 @@ jobs: SRPM=~/rpmbuild/SRPMS/*.src.rpm echo ::set-output name="SRPM::${SRPM}" echo ::set-output name="RPM::${RPM}" - echo ::set-output name="rpm_content_type::application/octet-stream" # See: https://github.com/actions/upload-artifact - name: Save RPM as artifact