mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-10-31 21:00:51 +01:00
clean up restore step
This commit is contained in:
parent
ae2e0ed9f1
commit
571e074d58
1 changed files with 6 additions and 2 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -18,10 +18,12 @@ jobs:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
uses: android-actions/setup-android@v3
|
uses: android-actions/setup-android@v3
|
||||||
|
- name: Restore tools
|
||||||
|
run: dotnet tool restore
|
||||||
- name: Run cake
|
- name: Run cake
|
||||||
uses: coactions/setup-xvfb@v1
|
uses: coactions/setup-xvfb@v1
|
||||||
with:
|
with:
|
||||||
run: dotnet tool restore && dotnet cake --target Publish --branch $GITHUB_REF_NAME
|
run: dotnet cake --target Publish --branch $GITHUB_REF_NAME
|
||||||
env:
|
env:
|
||||||
nuget_key: ${{ secrets.NUGET_KEY }}
|
nuget_key: ${{ secrets.NUGET_KEY }}
|
||||||
baget_key: ${{ secrets.BAGET_KEY }}
|
baget_key: ${{ secrets.BAGET_KEY }}
|
||||||
|
@ -36,8 +38,10 @@ jobs:
|
||||||
uses: actions/setup-dotnet@v3
|
uses: actions/setup-dotnet@v3
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
|
- name: Restore tools
|
||||||
|
run: dotnet tool restore
|
||||||
- name: Run cake
|
- name: Run cake
|
||||||
run: dotnet tool restore && dotnet cake --target Document --branch $GITHUB_REF_NAME
|
run: dotnet cake --target Document --branch $GITHUB_REF_NAME
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
if: github.event_name == 'push' && github.ref_name == 'release'
|
if: github.event_name == 'push' && github.ref_name == 'release'
|
||||||
# this is a beautiful way to deploy a website and i will not take any criticism
|
# this is a beautiful way to deploy a website and i will not take any criticism
|
||||||
|
|
Loading…
Reference in a new issue