mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Update build-project.yml
This commit is contained in:
parent
71c65b63d5
commit
6ee760f8e8
1 changed files with 5 additions and 21 deletions
22
.github/workflows/build-project.yml
vendored
22
.github/workflows/build-project.yml
vendored
|
@ -4,6 +4,7 @@ on:
|
||||||
#tags:
|
#tags:
|
||||||
# - '*'
|
# - '*'
|
||||||
jobs:
|
jobs:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
create_release:
|
create_release:
|
||||||
name: Create release
|
name: Create release
|
||||||
outputs:
|
outputs:
|
||||||
|
@ -60,14 +61,13 @@ jobs:
|
||||||
pip3 install crcengine
|
pip3 install crcengine
|
||||||
pip3 install pyinstaller
|
pip3 install pyinstaller
|
||||||
|
|
||||||
- name: Build with Pyinstaller Linux
|
- name: Build and compress Linux
|
||||||
if: matrix.os == 'ubuntu-latest'
|
if: matrix.os == 'ubuntu-latest'
|
||||||
working-directory: tnc
|
working-directory: tnc
|
||||||
run: |
|
run: |
|
||||||
pyinstaller -F daemon.py -n daemon
|
pyinstaller -F daemon.py -n daemon
|
||||||
pyinstaller -F main.py -n tnc
|
pyinstaller -F main.py -n tnc
|
||||||
# cd dist
|
|
||||||
# ls -R
|
|
||||||
|
|
||||||
- name: Compress Linux
|
- name: Compress Linux
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -88,19 +88,3 @@ jobs:
|
||||||
files: |
|
files: |
|
||||||
./tnc/compressed/${{ matrix.zip_name }}.zip
|
./tnc/compressed/${{ matrix.zip_name }}.zip
|
||||||
LICENSE
|
LICENSE
|
||||||
|
|
||||||
- name: Install Node.js, NPM and Yarn
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 14
|
|
||||||
|
|
||||||
|
|
||||||
#- name: Upload Linux
|
|
||||||
# uses: actions/upload-release-asset@v1
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
# with:
|
|
||||||
# upload_url: ${{ needs.create_release.outputs.upload_url }}
|
|
||||||
# asset_path: ./tnc/artifact/${{ matrix.zip_name }}.zip
|
|
||||||
# asset_name: ${{ matrix.zip_name }}.zip
|
|
||||||
# asset_content_type: application/zip
|
|
||||||
|
|
Loading…
Reference in a new issue