File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -24,28 +24,30 @@ jobs:
2424 name : check latest commit is less than a day
2525 if : ${{ github.event_name == 'schedule' }}
2626 run : test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
27+
2728 build :
2829 # https://stackoverflow.com/a/67527144/7644876
2930 needs : check_date
3031 if : ${{ needs.check_date.outputs.should_run != 'false' }}
3132 runs-on : ubuntu-latest
3233 steps :
34+
3335 - name : Add mask
3436 run : |
3537 echo "::add-mask::${{ secrets.FEEDZ_API_KEY }}"
36- - name : Setup .NET Core 3.1
37- uses : actions/setup-dotnet@v1
38- with :
39- dotnet-version : ' 3.1.x'
38+
4039 - name : Setup .NET 5
4140 uses : actions/setup-dotnet@v1
4241 with :
4342 dotnet-version : ' 5.0.x'
43+
4444 - name : Setup NuGet
4545 uses : nuget/setup-nuget@v1
4646 with :
4747 nuget-version : ' latest'
48+
4849 - name : Build solution
4950 run : dotnet build --configuration Release
51+
5052 - name : Nuget Push
5153 run : nuget push ${{ env.GITHUB_WORKSPACE }}/**/*.nupkg -Source https://f.feedz.io/gowon/pre-release/nuget/index.json -ApiKey ${{ secrets.FEEDZ_API_KEY }} -SkipDuplicate
You can’t perform that action at this time.
0 commit comments