diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ae7ef9c..23493c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/execute@v3.1.1 - - 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 \ No newline at end of file + # - 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 \ No newline at end of file diff --git a/src/AzureMapsControl.Components/AzureMapsControl.Components.csproj b/src/AzureMapsControl.Components/AzureMapsControl.Components.csproj index 75768d6..07c7032 100644 --- a/src/AzureMapsControl.Components/AzureMapsControl.Components.csproj +++ b/src/AzureMapsControl.Components/AzureMapsControl.Components.csproj @@ -2,7 +2,6 @@ net8.0;net9.0 - 3.0 Arnaud Leclerc https://github.com/arnaudleclerc/AzureMapsControl.Components