Skip to content

Commit 2f07355

Browse files
committed
update workflow
1 parent 1fb6970 commit 2f07355

1 file changed

Lines changed: 1 addition & 26 deletions

File tree

.github/workflows/test.workflows.yml

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
run: python -m pytest tests/core
6363

6464
- name: create binary
65-
if: github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, '[deploy]')
65+
if: contains(github.event.head_commit.message, '[deploy]')
6666
run: pyinstaller -i icon.ico --name="cutevariant_${{matrix.architecture}}" --hidden-import json --add-data "cutevariant;cutevariant" cutevariant\__main__.py
6767

6868
- name: Upload artifact
@@ -71,32 +71,7 @@ jobs:
7171
with:
7272
name: cutevariant-standalone-${{matrix.architecture}}
7373
path: dist
74-
- name: Create release
75-
if: github.ref == 'refs/heads/master' || contains(github.event.head_commit.message, '[deploy]')
76-
uses: ncipollo/release-action@v1
77-
with:
78-
artifacts: "cutevariant-standalone*"
79-
token: ${{secrets.GITHUB_TOKEN}}
80-
8174

8275

8376

84-
# MAC OS JOB
8577

86-
# Macos:
87-
# runs-on: macOS-latest
88-
# if: "contains(github.event.head_commit.message, '[deploy]')"
89-
# steps:
90-
# - uses: actions/checkout@v2
91-
# - uses: actions/setup-python@v2
92-
# with:
93-
# python-version: '3.8'
94-
# - name: install_deps
95-
# run: "make install"
96-
# - name: install PySide2 # Parce que @ysard veut absolument les version deprecated
97-
# run : pip install PySide2
98-
# - name: install mac deps
99-
# run: |
100-
# pip install PyInstaller==4.0
101-
# - name: create binary
102-
# run: pyinstaller -i icon.ico --name="cutevariant" --add-data cutevariant:cutevariant cutevariant/__main__.py;ls

0 commit comments

Comments
 (0)