Skip to content

Commit

Permalink
add pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
smallbomb committed Feb 20, 2021
1 parent 41c5ed7 commit 64db254
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/automatic-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
name: "pre-release"

on:
push:
branches:
- "release"

jobs:
pre-release:
name: "Pre Release"
runs-on: "ubuntu-latest"

steps:
# ...
- name: "Build & test"
uses: actions/setup-python@v2
with:
python-version: 3.9
run: |
bash ./script/install-dependencies.sh
pyinstall -F main.py
echo "done!"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE.txt
setting.json
./dist/main.exe
3 changes: 2 additions & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
name: Test, build and deploy

on:
push: {}
push:
branches: {}
pull_request: {}

jobs:
Expand Down

0 comments on commit 64db254

Please sign in to comment.