Version 9.0.0.547 #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Deploy | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build-and-deploy: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v1 | |
| with: | |
| dotnet-version: 8.0.407 | |
| - name: Checkout 🛎️ | |
| uses: actions/checkout@v2 | |
| with: | |
| persist-credentials: false | |
| submodules: true | |
| - name: Install Paket as global tool | |
| run: dotnet tool install paket --global | |
| - name: Add credentials for Paket | |
| run: | |
| paket config | |
| add-credentials https://nuget.pkg.github.com/dotnet-websharper/index.json | |
| --username intellifactory-gh | |
| --password ${{ secrets.PAT_PACKAGE }} | |
| - name: Build 🔧 | |
| run: ./build | |
| - name: Deploy 🚀 | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: build |