Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/.build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ jobs:
run: cp -r artifacts/build artifacts/Licensing
if: ${{ github.ref_name == 'dev' || github.ref_name == 'future' || (startsWith(github.ref, 'refs/tags/v')) }}

- name: ⬆️ Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: artifacts/packages/
if: ${{ github.ref_name == 'dev' || github.ref_name == 'future' || (startsWith(github.ref, 'refs/tags/v')) }}

- name: 📦 Create Packages and 🚚 deliver to NuGet
run: |
.\set-version.ps1 -RefName ${{ github.ref_name }} -IsTag ${{ github.ref_type == 'tag' && 1 || 0 }} -BuildNumber ${{ github.run_number }} -CommitHash ${{ github.sha }}
Expand All @@ -102,11 +109,4 @@ jobs:
.\set-version.ps1 -RefName ${{ github.ref_name }} -IsTag ${{ github.ref_type == 'tag' && 1 || 0 }} -BuildNumber ${{ github.run_number }} -CommitHash ${{ github.sha }}
.\pack-publish.ps1 -NugetApiKey ${{ secrets.MYGET_TOKEN }} -PackageTarget ${{ needs.Variables.outputs.MORYX_PACKAGE_TARGET }}
shell: pwsh
if: ${{ github.ref_name == 'dev' || github.ref_name == 'future' }}

- name: ⬆️ Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: packages
path: artifacts/packages/
if: ${{ github.ref_name == 'dev' || github.ref_name == 'future' || (startsWith(github.ref, 'refs/tags/v')) }}
if: ${{ github.ref_name == 'dev' || github.ref_name == 'future' }}
Loading