@@ -8,7 +8,7 @@ env:
|
||||
PACKAGE_OWNER: ${{ github.repository_owner }}
|
||||
PACKAGE_NAME: MongoDbGenericRepository.${{ env.PACKAGE_VERSION }}.nupkg
|
||||
PACKAGE_SOURCE: https://git.home.cuco.li/api/packages/${{ env.PACKAGE_OWNER }}/nuget/index.json
|
||||
PACKAGE_TOKEN: ${{ github.token }}
|
||||
PACKAGE_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -23,8 +23,6 @@ jobs:
|
||||
run: |
|
||||
git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/*
|
||||
git branch --remote --contains | grep origin/master
|
||||
#- name: Set VERSION variable from tag
|
||||
# run: echo "VERSION=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
|
||||
- name: Build
|
||||
run: dotnet build --configuration Release /p:Version=${{ env.PACKAGE_VERSION }}
|
||||
- name: Test
|
||||
|
||||
Reference in New Issue
Block a user