mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Adds per-platform release artifacts and release image validation
This commit is contained in:
1 parent
92ab62011e
commit
68143dff25
19 files changed
+603
-115
No files matched your search
@@ -45,7 +45,16 @@ jobs:
|
||||
env:
|
||||
SixLaborsLicenseKey: ${{ secrets.SIXLABORS_LICENSE_KEY }}
|
||||
RELEASE_BRANCH: ${{ github.ref_name }}
|
||||
run: dotnet msbuild build/build.proj -t:RecordBundledPlugins -p:Configuration=Release -p:OfficialReleaseBuild=true -p:AllowBundledPluginsRecording=true -p:ReleaseBranch="$RELEASE_BRANCH"
|
||||
run: |
|
||||
release_version="${RELEASE_BRANCH#release/}"
|
||||
dotnet msbuild build/build.proj -t:RecordBundledPlugins -p:Configuration=Release -p:OfficialReleaseBuild=true -p:AllowBundledPluginsRecording=true -p:ReleaseBranch="$RELEASE_BRANCH" -p:Version="$release_version"
|
||||
# Upload the verified archives before the image step, so a Docker failure does not discard successfully built archives.
|
||||
- name: Upload release archives
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release-archives
|
||||
path: bin/release/*
|
||||
if-no-files-found: error
|
||||
# Reuse the verified publish output, so the images contain exactly the plugin binaries whose hashes were recorded.
|
||||
- name: Build release images
|
||||
env:
|
||||
@@ -53,18 +62,6 @@ jobs:
|
||||
run: |
|
||||
release_version="${RELEASE_BRANCH#release/}"
|
||||
dotnet msbuild build/build.proj -t:Docker -p:Configuration=Release -p:OfficialReleaseBuild=true -p:ReusePublishedBundledPlugins=true -p:Version="$release_version"
|
||||
- name: Upload release server files
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release-api
|
||||
path: bin/api/publish
|
||||
if-no-files-found: error
|
||||
- name: Upload release web files
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: release-web
|
||||
path: bin/web/publish
|
||||
if-no-files-found: error
|
||||
- name: Upload bundled plugin manifest
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user