Skip to content

Merge branch 'main' of https://github.com/windingtheropes/euchre #18

Merge branch 'main' of https://github.com/windingtheropes/euchre

Merge branch 'main' of https://github.com/windingtheropes/euchre #18

Workflow file for this run

name: Build Workflow
on:
push:
branches: main
jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Python
uses: actions/setup-python@v1
with:
python-version: '3.7'
architecture: 'x64'
- name: Install requirements
run: |
pip install -r src/requirements.txt
- name: Run PyInstaller
run: |
python -m PyInstaller src/game.py
- name: dist to zip
run: |
powershell Compress-Archive -Path %cd%\dist\game.exe,%cd%\img -DestinationPath %cd%\dist\euchre.zip
# - uses: actions/upload-artifact@v2
# with:
# name: Windows_qwiklabs
# path: dist/qwiklab_badge_checker.exe
# - name: create release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.event.head_commit.message }}
# release_name: ${{ github.event.head_commit.message }}
# overwrite: true
# body: |
# Test Release v1.0.0
# draft: false
# prerelease: false
# - 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/qwiklab_badge_checker.exe
# asset_name: Qwiklab-Badge-Checker-Windows-amd64.exe
# asset_content_type: application/zip