Skip to content

Commit 8de063b

Browse files
Merge pull request #1855 from allmightyspiff/master
removed snapcraft from publish build.
2 parents 0e65657 + a4fee13 commit 8de063b

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,10 @@
1-
name: Release Snapcraft and PyPi
1+
name: Release to PyPi
22

33
on:
44
release:
55
types: [published]
66

77
jobs:
8-
snap-release:
9-
runs-on: ubuntu-18.04
10-
strategy:
11-
matrix:
12-
arch: ['armhf','amd64','arm64','ppc64el','s390x']
13-
steps:
14-
- name: Install Snapcraft
15-
uses: samuelmeuli/action-snapcraft@v1.2.0
16-
with:
17-
snapcraft_token: ${{ secrets.snapcraft_token }}
18-
- name: Push to stable
19-
run: |
20-
VERSION=`snapcraft list-revisions slcli --arch ${{ matrix.arch }} | grep "edge\*" | awk '{print $1}'`
21-
echo Publishing $VERSION on ${{ matrix.arch }}
22-
snapcraft release slcli $VERSION stable
238
build-n-publish:
249
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
2510
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)