Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Perpixel authored Oct 3, 2024
1 parent 01ad3a2 commit 688a365
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,25 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
./scripts/build-nvidia-drv.sh
- name: Push version tag
uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "${{ steps.run-build-script.outputs.NVIDIA_VERSION }}"
tag_exists_error: false
message: "Driver ${{ steps.run-build-script.outputs.NVIDIA_VERSION }}"
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
/tmp/nvidia-drv/rpmbuild/RPMS/*.tar.gz
name: "Nvidia Drivers - ${{ steps.run-build-script.outputs.NVIDIA_VERSION }}"
body: "${{ steps.run-build-script.outputs.NVIDIA_VERSION }}"
tag_name: "${{ steps.run-build-script.outputs.NVIDIA_VERSION }}"
draft: false
make_latest: true

release-drv:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Push version tag
uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "${{ steps.run-build-script.outputs.NVIDIA_VERSION }}"
tag_exists_error: false
message: "Driver ${{ steps.run-build-script.outputs.NVIDIA_VERSION }}"

0 comments on commit 688a365

Please sign in to comment.