Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas authored Aug 19, 2021
1 parent 671fe69 commit 1dde8f0
Showing 1 changed file with 9 additions and 39 deletions.
48 changes: 9 additions & 39 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,10 @@ jobs:
name: Build for NexusMods
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@master
with:
dotnet-version: 5.0.x

- name: Setup BUTR GPR
uses: actions/setup-dotnet@master
- name: Setup
uses: butr/[email protected]
with:
source-url: https://nuget.pkg.github.com/BUTR/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
github-token: ${{secrets.GITHUB_TOKEN}}

- name: Build Bannerlord.Harmony (Release)
run: >-
Expand All @@ -59,20 +49,10 @@ jobs:
runs-on: ubuntu-latest
if: ${{false}}
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@master
with:
dotnet-version: 3.1.x

- name: Setup BUTR GPR
uses: actions/setup-dotnet@master
- name: Setup
uses: butr/[email protected]
with:
source-url: https://nuget.pkg.github.com/BUTR/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
github-token: ${{secrets.GITHUB_TOKEN}}

- name: Download bannerlord folder
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -127,20 +107,10 @@ jobs:
runs-on: ubuntu-latest
needs: ["build-module"]
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup .NET Core
uses: actions/setup-dotnet@master
- name: Setup
uses: butr/[email protected]
with:
dotnet-version: 3.1.x

- name: Setup BUTR GPR
uses: actions/setup-dotnet@master
with:
source-url: https://nuget.pkg.github.com/BUTR/index.json
env:
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
github-token: ${{secrets.GITHUB_TOKEN}}

- name: Download bannerlord folder
uses: actions/download-artifact@v2
Expand Down

0 comments on commit 1dde8f0

Please sign in to comment.