File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11name : Create Release and Push to Marketplace
22on :
3- push :
4- branches :
5- - main
3+ workflow_dispatch :
4+ pull_request :
5+ types : [ closed ]
66jobs :
77 build :
88 runs-on : ubuntu-latest
99 permissions :
1010 contents : write
1111 steps :
1212 - name : Checkout
13- uses : actions/checkout@v2
13+ uses : actions/checkout@v4
1414 with :
1515 fetch-depth : 0
1616 - name : Install GitVersion
2222 uses : gittools/actions/gitversion/execute@v0
2323 - name : Tag ${{ env.GitVersion_SemVer }}
2424 run : |
25- git config --local user.email "[email protected] " 26- git config --local user.name "James "
25+ git config user.name "$env:GITHUB_ACTOR "
26+ git config user.email "$env:GITHUB_ACTOR_ID+$env:[email protected] " 2727 git tag -a "$GitVersion_SemVer" -m "Release $GitVersion_SemVer"
2828 - name : Create Release ${{ env.GitVersion_SemVer }}
2929 uses : ncipollo/release-action@v1
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ runs:
123123 if : ${{ env.DOTNET_PACK == 'true' }}
124124 run : dotnet pack ${{ env.PROJECT_PATH }} --configuration Release -p:Version=${{ env.PACKAGE_VERSION }} --output ${{ env.ARTIFACT_OUTPUT }} -p:UmbracoVersion=${{ env.UMBRACO_VERSION }}
125125 - name : Upload artifact
126- uses : actions/upload-artifact@v2
126+ uses : actions/upload-artifact@v4
127127 with :
128128 name : ${{ env.ARTIFACT_NAME }}
129129 path : " ${{ env.ARTIFACT_OUTPUT }}/**/*.nupkg"
You can’t perform that action at this time.
0 commit comments