Skip to content

Commit f92d60e

Browse files
committed
Updating pipelines
1 parent 23c7638 commit f92d60e

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

.github/workflows/CI.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- features/**
7-
- releases/**
87
- hotfix/**
98
paths:
109
src/**

.github/workflows/release.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
- releases/**
77
- develop
88
- master
9+
paths:
10+
src/**
911

1012
jobs:
1113
build:
@@ -65,9 +67,15 @@ jobs:
6567
echo "CommitsSinceVersionSource: ${{ steps.gitversion.outputs.commitsSinceVersionSource }}"
6668
echo "CommitsSinceVersionSourcePadded: ${{ steps.gitversion.outputs.commitsSinceVersionSourcePadded }}"
6769
echo "CommitDate: ${{ steps.gitversion.outputs.commitDate }}"
68-
#- name: Pack
69-
# run: dotnet pack ./src/AzureMapsControl.Components/AzureMapsControl.Components.csproj -p:Version='${{ steps.gitversion.outputs.nuGetVersionV2 }}"' -c Release --no-build
70-
#- name: Publish
71-
# env :
72-
# NUGETAPIKEY: ${{secrets.NUGETAPIKEY}}
73-
# run: dotnet nuget push "**/AzureMapsControl.Components*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGETAPIKEY
70+
- name: Tag Repo
71+
uses: richardsimko/update-tag@v1
72+
with:
73+
tag_name: ${{ steps.gitversion.outputs.nuGetVersionV2 }}
74+
env:
75+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
76+
- name: Pack
77+
run: dotnet pack ./src/AzureMapsControl.Components/AzureMapsControl.Components.csproj -p:Version='${{ steps.gitversion.outputs.nuGetVersionV2 }}"' -c Release --no-build
78+
- name: Publish
79+
env :
80+
NUGETAPIKEY: ${{secrets.NUGETAPIKEY}}
81+
run: dotnet nuget push "**/AzureMapsControl.Components*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGETAPIKEY

0 commit comments

Comments
 (0)