test
This commit is contained in:
@@ -23,37 +23,8 @@ jobs:
|
||||
- name: Confirm release approval
|
||||
run: echo "Approved release ${RELEASE_VERSION}"
|
||||
|
||||
build-backstage-dll:
|
||||
needs: approve-release
|
||||
runs-on: windows-latest
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Validate Release Version
|
||||
shell: pwsh
|
||||
run: |
|
||||
if ($env:RELEASE_VERSION -notmatch '^\d+\.\d+\.\d+$') {
|
||||
throw "Release version must be strict semver like 1.2.3; got '$env:RELEASE_VERSION'"
|
||||
}
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
- name: Build BackstageInjection DLL with MSVC
|
||||
shell: cmd
|
||||
run: call scripts\build-backstage-dll.bat
|
||||
|
||||
- name: Upload backstage DLLs
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
with:
|
||||
name: backstage-dll
|
||||
path: |
|
||||
Overlord-Server/dist-clients/BackstageInjection.x64.dll
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
|
||||
build-and-push:
|
||||
needs: build-backstage-dll
|
||||
needs: approve-release
|
||||
name: Build and push (${{ matrix.platform }})
|
||||
runs-on: ${{ matrix.runner }}
|
||||
timeout-minutes: 45
|
||||
@@ -75,12 +46,6 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
|
||||
- name: Download backstage DLLs
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
with:
|
||||
name: backstage-dll
|
||||
path: Overlord-Server/dist-clients
|
||||
|
||||
- name: Read Source Version
|
||||
id: srcver
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user