Skip to content

Commit

Permalink
Feat: automatic upload release
Browse files Browse the repository at this point in the history
  • Loading branch information
rmb122 committed Jul 1, 2022
1 parent a350a7f commit bb0fa83
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: Package exe with PyInstaller - Windows

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
tags:
- "v*"

jobs:
build:
Expand All @@ -27,3 +26,11 @@ jobs:
DeleteMyHistory.exe
config.toml
cookie.txt
- run: "${{ format('zip -r delete-my-history-in-tieba-{0}.zip DeleteMyHistory.exe config.toml cookie.txt', github.ref_name) }}"

- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: delete-my-history-in-tieba-*.zip

0 comments on commit bb0fa83

Please sign in to comment.