-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1f2fd5
commit ae0d5da
Showing
2 changed files
with
20 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,32 +42,32 @@ jobs: | |
run: cd ./src/AzureMapsControl.Components && npm i --force | ||
- name: Lint | ||
run: cd ./src/AzureMapsControl.Components && npx eslint -c eslint.config.mjs | ||
- name: Build Typescript | ||
run: cd ./src/AzureMapsControl.Components && npm run build | ||
# - name: Build Typescript | ||
# run: cd ./src/AzureMapsControl.Components && npm run build | ||
- name: Use GitVersion | ||
id: gitversion # step id used as reference for output values | ||
uses: gittools/actions/gitversion/[email protected] | ||
- name: Tag Repo Prerelease | ||
if: ${{ steps.gitversion.outputs.branchName != 'master' && steps.gitversion.outputs.branchName != 'main' }} | ||
uses: richardsimko/update-tag@v1 | ||
with: | ||
tag_name: ${{ steps.gitversion.outputs.fullSemVer }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Tag Repo | ||
if: ${{ steps.gitversion.outputs.branchName == 'master' || steps.gitversion.outputs.branchName == 'main' }} | ||
uses: richardsimko/update-tag@v1 | ||
with: | ||
tag_name: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# - name: Tag Repo Prerelease | ||
# if: ${{ steps.gitversion.outputs.branchName != 'master' && steps.gitversion.outputs.branchName != 'main' }} | ||
# uses: richardsimko/update-tag@v1 | ||
# with: | ||
# tag_name: ${{ steps.gitversion.outputs.fullSemVer }} | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# - name: Tag Repo | ||
# if: ${{ steps.gitversion.outputs.branchName == 'master' || steps.gitversion.outputs.branchName == 'main' }} | ||
# uses: richardsimko/update-tag@v1 | ||
# with: | ||
# tag_name: ${{ steps.gitversion.outputs.majorMinorPatch }} | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Pack PreRelease | ||
if: ${{ steps.gitversion.outputs.branchName != 'master' && steps.gitversion.outputs.branchName != 'main' }} | ||
run: dotnet pack ./src/AzureMapsControl.Components/AzureMapsControl.Components.csproj -p:Version='${{ steps.gitversion.outputs.fullSemVer }}"' -c Release --no-build | ||
- name: Pack | ||
if: ${{ steps.gitversion.outputs.branchName == 'master' || steps.gitversion.outputs.branchName == 'main' }} | ||
run: dotnet pack ./src/AzureMapsControl.Components/AzureMapsControl.Components.csproj -p:Version='${{ steps.gitversion.outputs.majorMinorPatch }}"' -c Release --no-build | ||
- name: Publish | ||
env : | ||
NUGETAPIKEY: ${{secrets.NUGETAPIKEY}} | ||
run: dotnet nuget push "**/AzureMapsControl.Components*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGETAPIKEY --skip-duplicate | ||
# - name: Publish | ||
# env : | ||
# NUGETAPIKEY: ${{secrets.NUGETAPIKEY}} | ||
# run: dotnet nuget push "**/AzureMapsControl.Components*.nupkg" -s https://api.nuget.org/v3/index.json -k $NUGETAPIKEY --skip-duplicate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters