This repository was archived by the owner on Jan 11, 2025. It is now read-only.
Rename script #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/build.yaml' | |
env: | |
VERSION: 1.0 | |
USER: Mikk155 | |
REPOSITORY: ripent.py | |
jobs: | |
build: | |
runs-on: ubuntu-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 }} |