Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
madsoulswe authored Dec 13, 2024
1 parent b017ad5 commit cb94f35
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ jobs:
- name: Setup .net core
uses: actions/[email protected]

- name: Setup UmbPack
run: dotnet tool install Umbraco.Tools.Packages --global
# - name: Setup UmbPack
# run: dotnet tool install Umbraco.Tools.Packages --global

- name: Create NuGet package file
run: dotnet pack ${{ env.LIBRARY_FOLDER }} -c ${{ env.CONFIG }} -o ${{ env.OUTPUT }} /p:version=${{ steps.get_version.outputs.VERSION }}

- name: Push NuGet package file
run: dotnet nuget push ${{ env.OUTPUT }}/${{ env.NAME }}.${{ steps.get_version.outputs.VERSION }}.nupkg --skip-duplicate -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json

- name: Create Umbraco package file
run: UmbPack pack ./package.xml -n ${{ env.NAME }}_${{ steps.get_version.outputs.VERSION }}.zip -o ${{ env.OUTPUT }} -v ${{ steps.get_version.outputs.VERSION }}
# - name: Create Umbraco package file
# run: UmbPack pack ./package.xml -n ${{ env.NAME }}_${{ steps.get_version.outputs.VERSION }}.zip -o ${{ env.OUTPUT }} -v ${{ steps.get_version.outputs.VERSION }}

- name: Push Umbraco package file
run: UmbPack push "${{ env.OUTPUT }}/${{ env.NAME }}_${{ steps.get_version.outputs.VERSION }}.zip" -k ${{ secrets.UMB_API_KEY }}
# - name: Push Umbraco package file
# run: UmbPack push "${{ env.OUTPUT }}/${{ env.NAME }}_${{ steps.get_version.outputs.VERSION }}.zip" -k ${{ secrets.UMB_API_KEY }}

- name: upload-artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit cb94f35

Please sign in to comment.