Add version string to zipfile name and include README.rst
Pull Request Merged / autoupdate_minor (pull_request) Successful in 4s
Unit Testing / test (3.11) (pull_request) Successful in 49s
Unit Testing / test (3.10) (pull_request) Successful in 53s
Unit Testing / test (3.8) (pull_request) Successful in 49s
Unit Testing / test (3.12) (pull_request) Successful in 54s
Unit Testing / test (3.9) (pull_request) Successful in 54s

This commit is contained in:
2026-03-18 11:10:14 +01:00
parent 6e7f399da3
commit 9b3a4523d2
+7 -4
View File
@@ -138,7 +138,9 @@ jobs:
if ($rebuild) {
Write-Host "Environment changed → rebuilding"
micromamba env remove -n $envName -y 2>$null
if (micromamba env list | Select-String $envName) {
micromamba env remove -n $envName -y 2>$null
}
micromamba create -n $envName -f $envFile -y
@@ -163,11 +165,12 @@ jobs:
Write-Host "Building version: $env:RELEASE_TAG"
micromamba run -n eos_build pyinstaller windows_build.spec
Copy-Item README.rst dist\eos\
- name: Package artifact
shell: powershell
run: |
Compress-Archive -Path dist\eos\* -DestinationPath eos.zip
Compress-Archive -Path dist\eos\* -DestinationPath "amor_eos-win64-$env:RELEASE_TAG.zip"
- name: Update Release
if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }}
@@ -175,5 +178,5 @@ jobs:
with:
name: "Amor-Eos ${{ env.RELEASE_TAG }}"
tag_name: "${{ env.RELEASE_TAG }}"
files: eos.zip
files: |-
amor_eos-win64*.zip