Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zachey01 committed Oct 26, 2024
1 parent 60fa457 commit 293c9ac
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:
with:
python-version: "3.12.5"

- name: Cache Python dependencies
uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.virtualenvs
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}

- name: Install Dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -37,7 +45,7 @@ jobs:
echo 'OutFile "SmoothedScroll_Setup.exe"' > setup_script.nsi
echo 'InstallDir "$PROGRAMFILES\\SmoothedScroll"' >> setup_script.nsi
echo 'RequestExecutionLevel user' >> setup_script.nsi
echo 'Page license "LICENSE"' >> setup_script.nsi
echo 'Page license "${{ github.workspace }}\\LICENSE"' >> setup_script.nsi
echo 'Page directory' >> setup_script.nsi
echo 'Page instfiles' >> setup_script.nsi
echo 'Section ""' >> setup_script.nsi
Expand All @@ -54,8 +62,6 @@ jobs:
echo 'SectionEnd' >> setup_script.nsi
echo '!include "MUI2.nsh"' >> setup_script.nsi
echo 'Name "Smoothed Scroll"' >> setup_script.nsi
echo 'OutFile "SmoothedScroll_Setup.exe"' >> setup_script.nsi
echo 'InstallDir "$PROGRAMFILES\\SmoothedScroll"' >> setup_script.nsi
echo 'Icon "assets/icon.ico"' >> setup_script.nsi
- name: Build Setup Version with NSIS
Expand Down

0 comments on commit 293c9ac

Please sign in to comment.