Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
nvidia-patch
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
nvidia-patch
Commits
bd502d57
Commit
bd502d57
authored
Oct 12, 2023
by
Jai Luthra
Committed by
Jai Luthra
Oct 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
actions: Fix workflow for studio release
Signed-off-by:
Jai Luthra
<
me@jailuthra.in
>
parent
52040d4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
5 deletions
+19
-5
.github/workflows/gen_win_patches.yml
.github/workflows/gen_win_patches.yml
+19
-5
No files found.
.github/workflows/gen_win_patches.yml
View file @
bd502d57
...
...
@@ -34,6 +34,8 @@ jobs:
if [ "$variant" == "dch" ]; then
variant="DCH"
elif [ "$variant" == "studio" ]; then
variant="Studio Driver"
fi
echo "OS=$os" >> $GITHUB_ENV
...
...
@@ -57,22 +59,34 @@ jobs:
-
name
:
Delete Existing Files
run
:
|
echo "Deleting existing files if they exist"
rm -f "${{ github.workspace }}/win/win10_x64/${{ env.VERSION }}/nvencodeapi64.1337"
rm -f "${{ github.workspace }}/win/win10_x64/${{ env.VERSION }}/nvencodeapi.1337"
dir=${{ env.VERSION }}
if [ "${{ env.VARIANT }}" == "Studio Driver" ]; then
dir=nsd_${{ env.VERSION }}
fi
rm -f "${{ github.workspace }}/win/win10_x64/$dir/nvencodeapi64.1337"
rm -f "${{ github.workspace }}/win/win10_x64/$dir/nvencodeapi.1337"
echo "Existing files deleted successfully"
-
name
:
Run autopatch.py
run
:
|
echo "Running autopatch.py with version ${{ env.VERSION }}"
echo "Running autopatch.py with version ${{ env.VERSION }}
and variant ${{ env.VARIANT }}
"
cd "${{ github.workspace }}/win/tools/autopatch"
python autopatch.py ${{ env.VERSION }}
if [ "${{ env.VARIANT }}" == "DCH" ]; then
python autopatch.py ${{ env.VERSION }}
elif [ "${{ env.VARIANT }}" == "Studio Driver" ]; then
python autopatch.py https://international.download.nvidia.com/Windows/${{ env.VERSION }}/${{ env.VERSION }}-desktop-win10-win11-64bit-international-nsd-dch-whql.exe
fi
echo "autopatch.py executed successfully"
-
name
:
Run add_driver.py
run
:
|
echo "Running add_driver.py with variant ${{ env.VARIANT }} and version ${{ env.VERSION }}"
cd "${{ github.workspace }}/tools/readme-autogen"
python add_driver.py -W -P GeForce --variant
${{ env.VARIANT }}
-w win10 ${{ env.VERSION }}
python add_driver.py -W -P GeForce --variant
"${{ env.VARIANT }}"
-w win10 ${{ env.VERSION }}
echo "add_driver.py executed successfully"
-
name
:
Run readme_autogen.py
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment