From 688a3659a0bb160543658efff0724138bf3fcdf2 Mon Sep 17 00:00:00 2001 From: Guillaume Plourde Date: Thu, 3 Oct 2024 16:23:56 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e1c92a..c3689c7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,13 +29,6 @@ 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: @@ -43,6 +36,18 @@ jobs: /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 }}"