Skip to content

Commit

Permalink
Merge branch 'master' of github.com:BanananaFish/Comsol-CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
BanananaFish committed Mar 29, 2024
2 parents 6352dfb + d603f8d commit 7cadb72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 47 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/exe_build_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Package exe with PyInstaller - Windows

on:
push:
branches:
- master
tags:
- '*'
pull_request:
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/windows_build_action.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1 @@
name: Package exe with PyInstaller - Windows

on:
push:
tags:
- '*'
pull_request:
tags:
- '*'

jobs:
pyinstaller-build:
runs-on: windows-latest
steps:
- name: Create Executable
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.10'
spec: 'src/main.py'
requirements: 'src/requirements.txt'
exe_path: 'dist/windows'
upload_exe_with_name: 'consol_CLI'
options: --onefile, --name "consol_CLI"
- name: create release
id: create_release
uses: ncipollo/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# tag: ${{ github.event.head_commit.message }}
# name: ${{ github.event.head_commit.message }}
body: |
Test Release v1.0.0
draft: false
prerelease: false
allowUpdates: true
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{steps.create_release.outputs.upload_url}}
asset_path: dist/windows/consol_CLI.exe
asset_name: consol-CLI-Windows-amd64.exe
asset_content_type: application/zip

0 comments on commit 7cadb72

Please sign in to comment.