From fc3ef36fefb0bef5c0efb817d81d2a9ea18304b7 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 23 Feb 2024 12:36:55 -0500 Subject: [PATCH] Attempt to add CD to existing actions --- .github/workflows/build_check.yml | 16 +++++++++++++++- .github/workflows/build_ui.yml | 17 ++++++++++++++++- CHANGELIST.md | 1 + 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 4a7be395..f5504bcf 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -34,5 +34,19 @@ jobs: - name: Upload build uses: actions/upload-artifact@v4 with: - name: ${{ matrix.project }}_${{ github.sha }}_${{ matrix.framework }}_${{ matrix.runtime }}_${{ matrix.conf }} + name: ${{ matrix.project }}_${{ matrix.framework }}_${{ matrix.runtime }}_${{ matrix.conf }} path: ${{ matrix.project }}/bin/${{ matrix.conf }}/${{ matrix.framework }}/${{ matrix.runtime }}/publish/ + + - name: Upload to rolling + uses: ncipollo/release-action@v1 + with: + allowUpdates: True + artifacts: ${{ matrix.project }}_${{ matrix.framework }}_${{ matrix.runtime }}_${{ matrix.conf }} + generateReleaseNotes: true + omitBody: True + omitBodyDuringUpdate: True + omitNameDuringUpdate: True + prerelease: True + replacesArtifacts: True + tag: "check-rolling" + updateOnlyUnreleased: True diff --git a/.github/workflows/build_ui.yml b/.github/workflows/build_ui.yml index 5b1d4503..e8920e35 100644 --- a/.github/workflows/build_ui.yml +++ b/.github/workflows/build_ui.yml @@ -41,5 +41,20 @@ jobs: - name: Upload build uses: actions/upload-artifact@v4 with: - name: ${{ matrix.project }}_${{ github.sha }}_${{ matrix.framework }}_${{ matrix.runtime }}_${{ matrix.conf }} + name: ${{ matrix.project }}_${{ matrix.framework }}_${{ matrix.runtime }}_${{ matrix.conf }} path: ${{ matrix.project }}/bin/${{ matrix.conf }}/${{ matrix.framework }}/${{ matrix.runtime }}/publish/ + + - name: Upload to rolling + uses: ncipollo/release-action@v1 + with: + allowUpdates: True + artifacts: "*.zip" + generateReleaseNotes: true + omitBody: True + omitBodyDuringUpdate: True + omitNameDuringUpdate: True + prerelease: True + removeArtifacts: True + replacesArtifacts: True + tag: "ui-rolling" + updateOnlyUnreleased: True diff --git a/CHANGELIST.md b/CHANGELIST.md index f0335832..4bdbfc12 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -22,6 +22,7 @@ - Remove net35 from MPF... again - Fix whitespace that got unwhitespaced - Fix link in README +- Attempt to add CD to existing actions ### 3.1.1 (2024-02-20)