Skip to content

Commit 998b940

Browse files
committed
Merge branch 'main' into feature/support_enum
2 parents 64a5173 + 27d9ca8 commit 998b940

File tree

4 files changed

+65
-7
lines changed

4 files changed

+65
-7
lines changed

.github/workflows/release.yml

Lines changed: 63 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: CI
1+
name: Release
22

33
on:
44
push:
55
tags:
66
- '*'
77

88
permissions:
9-
contents: read
9+
contents: write
1010

1111
jobs:
1212
linux:
@@ -31,6 +31,13 @@ jobs:
3131
with:
3232
name: wheels
3333
path: dist
34+
- name: Releasing assets
35+
uses: softprops/action-gh-release@v1
36+
with:
37+
files: |
38+
dist/*
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3441

3542
windows:
3643
runs-on: windows-latest
@@ -54,6 +61,13 @@ jobs:
5461
with:
5562
name: wheels
5663
path: dist
64+
- name: Releasing assets
65+
uses: softprops/action-gh-release@v1
66+
with:
67+
files: |
68+
dist/*
69+
env:
70+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5771

5872
macos:
5973
runs-on: macos-latest
@@ -76,6 +90,13 @@ jobs:
7690
with:
7791
name: wheels
7892
path: dist
93+
- name: Releasing assets
94+
uses: softprops/action-gh-release@v1
95+
with:
96+
files: |
97+
dist/*
98+
env:
99+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
79100

80101
sdist:
81102
runs-on: ubuntu-latest
@@ -91,12 +112,50 @@ jobs:
91112
with:
92113
name: wheels
93114
path: dist
115+
- name: Releasing assets
116+
uses: softprops/action-gh-release@v1
117+
with:
118+
files: |
119+
dist/*
120+
env:
121+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
122+
123+
musllinux:
124+
runs-on: ubuntu-latest
125+
strategy:
126+
matrix:
127+
target:
128+
- x86_64-unknown-linux-musl
129+
- i686-unknown-linux-musl
130+
steps:
131+
- uses: actions/checkout@v3
132+
- uses: actions/setup-python@v4
133+
with:
134+
python-version: '3.10'
135+
architecture: x64
136+
- name: Build wheels
137+
uses: messense/maturin-action@v1
138+
with:
139+
target: ${{ matrix.target }}
140+
args: --release --out dist --find-interpreter
141+
manylinux: musllinux_1_2
142+
- name: Upload wheels
143+
uses: actions/upload-artifact@v3
144+
with:
145+
name: wheels
146+
path: dist
147+
- name: Releasing assets
148+
uses: softprops/action-gh-release@v1
149+
with:
150+
files: |
151+
dist/*
152+
env:
153+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94154

95155
release:
96156
name: Release
97157
runs-on: ubuntu-latest
98-
if: "startsWith(github.ref, 'refs/tags/')"
99-
needs: [linux, windows, macos, sdist]
158+
needs: [linux, windows, macos, musllinux, sdist]
100159
steps:
101160
- uses: actions/download-artifact@v3
102161
with:

.github/workflows/test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,3 @@ jobs:
8282
run: pip install "tox-gh>=1.2,<2"
8383
- name: Run pytest
8484
run: tox -v
85-

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "psqlpy"
3-
version = "0.6.2"
3+
version = "0.6.3"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

0 commit comments

Comments
 (0)