-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: release | ||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" | ||
- run: pip3 install build | ||
- run: | | ||
set -e | ||
GOOS=darwin GOARCH=amd64 python3 -m build --sdist --wheel . | ||
GOOS=darwin GOARCH=arm64 python3 -m build --sdist --wheel . | ||
GOOS=freebsd GOARCH=amd64 python3 -m build --sdist --wheel . | ||
GOOS=linux GOARCH=amd64 python3 -m build --sdist --wheel . | ||
GOOS=linux GOARCH=arm64 python3 -m build --sdist --wheel . | ||
GOOS=linux GOARCH=armv5 python3 -m build --sdist --wheel . | ||
GOOS=linux GOARCH=armv6 python3 -m build --sdist --wheel . | ||
GOOS=linux GOARCH=armv7 python3 -m build --sdist --wheel . | ||
GOOS=linux GOARCH=ppc64le python3 -m build --sdist --wheel . | ||
GOOS=linux GOARCH=s390x python3 -m build --sdist --wheel . | ||
GOOS=windows GOARCH=amd64 python3 -m build --sdist --wheel . | ||
GOOS=windows GOARCH=arm64 python3 -m build --sdist --wheel . | ||
shell: bash | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: dist | ||
path: dist |