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