Update setup-common.yml

master
Vitaly Mikhailov 3 years ago committed by GitHub
parent 857c3c8948
commit 99479012b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,13 +3,14 @@ name: Common Setup
on:
workflow_call:
inputs:
github-token:
required: true
type: string
fetch-depth:
required: false
type: number
default: 1
secrets:
GITHUB_TOKEN:
description: 'A token passed from the caller workflow'
required: true
jobs:
setup-common:
@ -20,7 +21,7 @@ jobs:
uses: actions/checkout@v2
with:
submodules: 'recursive'
fetch-depth: ${{inputs.fetch-depth}}
fetch-depth: ${{ inputs.fetch-depth }}
- name: Setup .NET 6
uses: actions/setup-dotnet@master
@ -38,4 +39,4 @@ jobs:
with:
source-url: https://nuget.pkg.github.com/BUTR/index.json
env:
NUGET_AUTH_TOKEN: ${{inputs.github-token}}
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save