mirror of https://github.com/BUTR/workflows.git
Delete setup-common.yml
parent
52cadb7962
commit
c9b3a889a5
@ -1,38 +0,0 @@
|
|||||||
name: Common Setup
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_call:
|
|
||||||
inputs:
|
|
||||||
fetch-depth:
|
|
||||||
required: false
|
|
||||||
type: number
|
|
||||||
default: 1
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
setup-common:
|
|
||||||
name: Common Setup
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout Repository
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
submodules: 'recursive'
|
|
||||||
fetch-depth: ${{ inputs.fetch-depth }}
|
|
||||||
|
|
||||||
- name: Setup .NET 6
|
|
||||||
uses: actions/setup-dotnet@master
|
|
||||||
with:
|
|
||||||
dotnet-version: 6.x.x
|
|
||||||
|
|
||||||
- name: Ensure NuGet Source
|
|
||||||
uses: fabriciomurta/ensure-nuget-source@v1
|
|
||||||
with:
|
|
||||||
name: 'nuget.org'
|
|
||||||
url: 'https://api.nuget.org/v3/index.json'
|
|
||||||
|
|
||||||
- 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 }}
|
|
||||||
Loading…
Reference in New Issue