Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 334e29d0d6 |
56
.github/workflows/release.yml
vendored
56
.github/workflows/release.yml
vendored
@@ -107,31 +107,31 @@ jobs:
|
||||
files: |-
|
||||
dist/amor*.tar.gz
|
||||
|
||||
# build-windows:
|
||||
# needs: [test]
|
||||
# runs-on: windows-latest
|
||||
# if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all", "windows", "all_incl_release"]'), github.event.inputs.build-items)) }}
|
||||
#
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
# - name: Set up Python
|
||||
# uses: actions/setup-python@v5
|
||||
# with:
|
||||
# python-version: 3.12
|
||||
# - name: Install dependencies
|
||||
# run: |
|
||||
# C:\Miniconda\condabin\conda.bat env update --file conda_windows.yml --name base
|
||||
# C:\Miniconda\condabin\conda.bat init powershell
|
||||
# - name: Build with pyinstaller
|
||||
# run: |
|
||||
# pyinstaller windows_build.spec
|
||||
# cd dist\eos
|
||||
# Compress-Archive -Path .\* -Destination ..\..\eos.zip
|
||||
# - name: Update Release
|
||||
# if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }}
|
||||
# uses: actions/gitea-release-action@v1
|
||||
# with:
|
||||
# name: "Amor-Eos ${{ env.RELEASE_TAG }}"
|
||||
# tag_name: "${{ env.RELEASE_TAG }}"
|
||||
# files: |-
|
||||
# eos.zip
|
||||
build-windows:
|
||||
needs: [test]
|
||||
runs-on: windows-latest
|
||||
if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all", "windows", "all_incl_release"]'), github.event.inputs.build-items)) }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.12
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
C:\Miniconda\condabin\conda.bat env update --file conda_windows.yml --name base
|
||||
C:\Miniconda\condabin\conda.bat init powershell
|
||||
- name: Build with pyinstaller
|
||||
run: |
|
||||
pyinstaller windows_build.spec
|
||||
cd dist\eos
|
||||
Compress-Archive -Path .\* -Destination ..\..\eos.zip
|
||||
- name: Update Release
|
||||
if: ${{ (github.event_name != 'workflow_dispatch') || (contains(fromJson('["all_incl_release"]'), github.event.inputs.build-items)) }}
|
||||
uses: actions/gitea-release-action@v1
|
||||
with:
|
||||
name: "Amor-Eos ${{ env.RELEASE_TAG }}"
|
||||
tag_name: "${{ env.RELEASE_TAG }}"
|
||||
files: |-
|
||||
eos.zip
|
||||
|
||||
Reference in New Issue
Block a user