Skip to content

Commit 42db840

Browse files
committed
Update release script
1 parent a1fb337 commit 42db840

File tree

1 file changed

+1
-56
lines changed

1 file changed

+1
-56
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -34,63 +34,8 @@ jobs:
3434
name: project-dist
3535
path: dist
3636

37-
MacOS:
38-
runs-on: macos-latest
39-
40-
steps:
41-
- uses: actions/checkout@v2
42-
- name: Get tag
43-
id: tag
44-
run: |
45-
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
46-
- name: Set up Python ${{ matrix.python-version }}
47-
uses: actions/setup-python@v1
48-
with:
49-
python-version: 3.8
50-
- name: Install and set up Poetry
51-
run: |
52-
curl -fsS -o get-poetry.py https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py
53-
python get-poetry.py --preview -y
54-
- name: Build distributions
55-
run: |
56-
source $HOME/.poetry/env
57-
poetry build -vvv
58-
- name: Upload distribution artifacts
59-
uses: actions/upload-artifact@v1
60-
with:
61-
name: project-dist
62-
path: dist
63-
64-
Windows:
65-
runs-on: windows-latest
66-
67-
steps:
68-
- uses: actions/checkout@v2
69-
- name: Get tag
70-
id: tag
71-
shell: bash
72-
run: |
73-
echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
74-
- name: Set up Python ${{ matrix.python-version }}
75-
uses: actions/setup-python@v1
76-
with:
77-
python-version: 3.8
78-
- name: Install and setup Poetry
79-
run: |
80-
Invoke-WebRequest https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py -O get-poetry.py
81-
python get-poetry.py --preview -y
82-
- name: Build distributions
83-
run: |
84-
$env:Path += ";$env:Userprofile\.poetry\bin"
85-
poetry build -vvv
86-
- name: Upload distribution artifact
87-
uses: actions/upload-artifact@v1
88-
with:
89-
name: project-dist
90-
path: dist
91-
9237
Release:
93-
needs: [Linux, MacOS, Windows]
38+
needs: [Linux]
9439
runs-on: ubuntu-latest
9540

9641
steps:

0 commit comments

Comments
 (0)