Skip to content

Release workflow

Release workflow #74

Workflow file for this run

name: Build Nvidia drivers
on:
push:
branches:
- master
pull_request:
merge_group:
workflow_dispatch:
schedule:
- cron: '0 1 * * *'
jobs:
build-drv:
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: quay.io/fedora/fedora:${{ matrix.version }}
strategy:
matrix:
version: [40, 41]
fail-fast: false
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Run build script
env:
BUILD: false
run: |
$GITHUB_WORKSPACE/scripts/build-nvidia-drv.sh
ls -la /tmp/nvidia-drv/rpmbuild/RPMS
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
/tmp/nvidia-drv/rpmbuild/RPMS/*.tar.gz
name: "test release"
body: "body"
draft: true
make_latest: true