mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-03 01:46:01 -05:00
update artifact actions
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
This commit is contained in:
parent
d75d8d0b96
commit
1da6a44298
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user