Skip to content

Update and rename Fix faulty link to README.md #120

Update and rename Fix faulty link to README.md

Update and rename Fix faulty link to README.md #120

Workflow file for this run

name: Build Daily
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest # Can also use windows-latest, if needed
name: Shoko Desktop daily build
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup MSBuild Path
uses: warrenbuckley/Setup-MSBuild@v1
- name: Setup NuGet
uses: NuGet/[email protected]
- name: Restore NuGet Packages
run: nuget restore Shoko.Desktop.sln
- name: Build
run: msbuild Shoko.Desktop.sln /p:Configuration=Release /p:DeployOnBuild=true /p:PublishProfile=FolderProfile
- name: Archive Release
run: zip -r ShokoDesktop.zip Shoko.Desktop/bin/Release
- name: Upload Daily Build to FTPS Server
env:
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
FTP_SERVER: ${{ secrets.FTP_SERVER }} # The server IP or domain
run: |
curl --ftp-ssl -T ShokoDesktop.zip \
--user ${{ secrets.FTP_USERNAME }}:${{ secrets.FTP_PASSWORD }} \
ftps://${{ secrets.FTP_SERVER }}/files/shoko-desktop/daily/ShokoDesktop.zip --insecure