mirror of
https://github.com/NohamR/GoFileCLI.git
synced 2025-05-24 00:49:00 +00:00
fix glibc error in building
This commit is contained in:
parent
a3a3991303
commit
45af437764
44
.github/workflows/build_latest.yml
vendored
44
.github/workflows/build_latest.yml
vendored
@ -18,6 +18,9 @@ on:
|
||||
required: true
|
||||
default: 'main'
|
||||
|
||||
env:
|
||||
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
|
||||
|
||||
jobs:
|
||||
build-win-x64:
|
||||
runs-on: windows-latest
|
||||
@ -62,8 +65,6 @@ jobs:
|
||||
- name: Check runner architecture
|
||||
run: uname -m
|
||||
|
||||
- run: apt-get update
|
||||
- run: apt-get install -y curl wget
|
||||
- name: Check-out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
@ -134,45 +135,6 @@ jobs:
|
||||
build/*.exe
|
||||
build/*.bin
|
||||
build/*.app/**/*
|
||||
|
||||
build-mac-x64:
|
||||
runs-on: macos-latest
|
||||
|
||||
steps:
|
||||
- name: Check runner architecture
|
||||
run: uname -m
|
||||
|
||||
- name: Check-out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: |
|
||||
**/requirements*.txt
|
||||
architecture: 'x64'
|
||||
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Build Executable with Nuitka
|
||||
uses: Nuitka/Nuitka-Action@main
|
||||
with:
|
||||
nuitka-version: main
|
||||
script-name: gofilecli.py
|
||||
onefile: true
|
||||
|
||||
- name: Upload Artifact[linux-x64]
|
||||
uses: actions/upload-artifact@v3.1.3
|
||||
with:
|
||||
name: GoFileCLI_osx-X64
|
||||
path: |
|
||||
build/*.exe
|
||||
build/*.bin
|
||||
build/*.app/**/*
|
||||
|
||||
build-mac-arm64:
|
||||
runs-on: macos-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user