Skip to content
This repository has been archived by the owner on Oct 27, 2024. It is now read-only.

Commit

Permalink
Test out windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikk155 committed Aug 9, 2024
1 parent 0a45cdc commit 86022c5
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 3 deletions.
36 changes: 33 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,41 @@ on:
- '.github/workflows/build.yaml'

env:
VERSION: 1.0
VERSION: "1.0"
USER: Mikk155
REPOSITORY: ripent.py

jobs:
build:
Windows:
needs: release
name: Win32
runs-on: windows-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install pyinstaller
run: pip install pyinstaller

- name: Build Executable
run: pyinstaller --onefile ripent.py

- name: Release
uses: xresloader/[email protected]
with:
file: "dist/ripent.exe;ripent.py;rules.json"
tag_name: ${{ env.VERSION }}
token: ${{ secrets.TOKEN }}
target_owner: ${{ env.USER }}
target_repo: ${{ env.REPOSITORY }}
update_latest_release: true
default_release_name: "Rip Ent"
update_release_body_path: "changelog.md"
draft: false
prerelease: false

Linux:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,8 +58,9 @@ jobs:
- name: Release
uses: xresloader/[email protected]
with:
file: "dist/ripent.exe;dist/ripent;ripent.py;rules.json"
file: "dist/ripent"
tag_name: ${{ env.VERSION }}
token: ${{ secrets.TOKEN }}
target_owner: ${{ env.USER }}
target_repo: ${{ env.REPOSITORY }}
update_latest_release: true
Empty file added changelog.md
Empty file.

0 comments on commit 86022c5

Please sign in to comment.