Skip to content

Commit

Permalink
Update daily.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ElementalCrisis authored Oct 7, 2024
1 parent e971168 commit 4ffabdd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
build:
runs-on: windows-latest
runs-on: windows-latest

name: Shoko Desktop daily build

Expand All @@ -17,13 +17,17 @@ jobs:
submodules: recursive

- name: Setup MSBuild Path
uses: warrenbuckley/Setup-MSBuild@v1
uses: warrenbuckley/Setup-MSBuild@v1 # Ensure that the MSBuild version is compatible

- name: Setup NuGet
uses: NuGet/[email protected]

- name: Restore NuGet Packages
run: nuget restore Shoko.Desktop.sln
run: nuget restore Shoko.Desktop.sln

- name: Set up MSBuild Environment Path # Use environment files to add MSBuild to PATH
run: |
echo "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin" >> $GITHUB_PATH
- name: Build
run: msbuild Shoko.Desktop.sln /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
Expand All @@ -35,7 +39,7 @@ jobs:
env:
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
FTP_SERVER: ${{ secrets.FTP_SERVER }}
FTP_SERVER: ${{ secrets.FTP_SERVER }}
run: |
curl --ftp-ssl -T ShokoDesktop.zip \
--user ${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }} \
Expand Down

0 comments on commit 4ffabdd

Please sign in to comment.