Scott Lamb 2025-01-31 21:39:31 -08:00
parent d75d8d0b96
commit 1da6a44298

View File

@ -33,12 +33,12 @@ jobs:
- run: cd ui && pnpm run build - run: cd ui && pnpm run build
- run: cd ui && pnpm run test - run: cd ui && pnpm run test
# Upload the UI and changelog as *job* artifacts (not *release* artifacts), used below. # Upload the UI and changelog as *job* artifacts (not *release* artifacts), used below.
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: moonfire-nvr-ui-${{ github.ref_name }} name: moonfire-nvr-ui-${{ github.ref_name }}
path: ui/dist path: ui/dist
if-no-files-found: error if-no-files-found: error
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: CHANGELOG-${{ github.ref_name }} name: CHANGELOG-${{ github.ref_name }}
path: CHANGELOG-${{ github.ref_name }}.md path: CHANGELOG-${{ github.ref_name }}.md
@ -68,7 +68,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Download UI - name: Download UI
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
with: with:
name: moonfire-nvr-ui-${{ github.ref_name }} name: moonfire-nvr-ui-${{ github.ref_name }}
path: ui/dist path: ui/dist
@ -108,7 +108,7 @@ jobs:
EOF EOF
# Upload as a *job* artifact (not *release* artifact), used below. # Upload as a *job* artifact (not *release* artifact), used below.
- name: Upload Job Artifact - name: Upload Job Artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: moonfire-nvr-${{ github.ref_name }}-${{ matrix.arch }} name: moonfire-nvr-${{ github.ref_name }}-${{ matrix.arch }}
path: output/moonfire-nvr path: output/moonfire-nvr
@ -121,7 +121,7 @@ jobs:
contents: write contents: write
packages: write packages: write
steps: steps:
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
path: artifacts path: artifacts
- name: ls before rearranging - name: ls before rearranging