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

release - add icon to workflow #19

release - add icon to workflow

release - add icon to workflow #19

on:
push:
jobs:
build:
runs-on: ['windows-latest']
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.11
- run: pip install -r requirements.txt pyinstaller
- run: pyinstaller --onefile --icon=tkbstudios.ico tinet-bridge.py
- uses: actions/upload-artifact@v4
with:
name: tinet-bridge
path: dist/tinet-bridge.exe
- name: Release
uses: softprops/action-gh-release@v1
if: "contains(github.event.head_commit.message, 'release')"
with:
files: dist/tinet-bridge.exe
tag_name: V${{ github.run_number }}
token: ${{ secrets.CUSTOM_GITHUB_TOKEN }}