summaryrefslogtreecommitdiff
path: root/.github/workflows/release-with-executable.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/release-with-executable.yml')
-rw-r--r--.github/workflows/release-with-executable.yml40
1 files changed, 0 insertions, 40 deletions
diff --git a/.github/workflows/release-with-executable.yml b/.github/workflows/release-with-executable.yml
deleted file mode 100644
index 97c022b..0000000
--- a/.github/workflows/release-with-executable.yml
+++ /dev/null
@@ -1,40 +0,0 @@
-name: Build and Release
-
-on:
- release:
- types: [created]
-
-jobs:
- build:
-
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
-
- - name: Set up Python
- uses: actions/setup-python@v2
- with:
- python-version: '3.9'
-
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install -r requirements.txt
- pip install pyinstaller
- apt-get install binutils
-
- - name: Build with PyInstaller
- run: |
- pyinstaller krr.py
- zip -r "krr-linux-${{ github.ref_name }}.zip" ./dist/krr
-
- - name: Upload Release Asset
- uses: actions/upload-release-asset@v1.0.2
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: ${{ github.event.release.upload_url }}
- asset_path: .
- asset_name: "krr-linux-${{ github.ref_name }}.zip"
- asset_content_type: application/octet-stream