Skip to content

Commit d1eb6c4

Browse files
author
Glib Glugovskiy
committed
build: add additional rules to twin
1 parent cbc834c commit d1eb6c4

3 files changed

Lines changed: 22 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,22 @@ on:
77
branches:
88
- 'main'
99

10+
concurrency:
11+
group: release-${{ github.ref }}
12+
cancel-in-progress: false
1013

1114
jobs:
1215
macos:
1316
runs-on: macos-latest
1417
strategy:
1518
matrix:
16-
python-version: ["3.10", "3.11", "3.12"]
19+
python-version: ["3.10", "3.11", "3.12", "3.13"]
1720
target: [x64, aarch64]
1821
steps:
1922
- uses: actions/checkout@v4
23+
- uses: Swatinem/rust-cache@v2
24+
with:
25+
key: ${{ matrix.target }}
2026
- name: Set up Python ${{ matrix.python-version }}
2127
uses: actions/setup-python@v5
2228
with:
@@ -32,15 +38,19 @@ jobs:
3238
with:
3339
name: macos-wheels-${{ matrix.python-version }}-${{matrix.target}}
3440
path: dist
41+
retention-days: 3
3542

3643
windows:
3744
runs-on: windows-latest
3845
strategy:
3946
matrix:
40-
python-version: ["3.10", "3.11", "3.12"]
47+
python-version: ["3.10", "3.11", "3.12", "3.13"]
4148
target: [x64]
4249
steps:
4350
- uses: actions/checkout@v4
51+
- uses: Swatinem/rust-cache@v2
52+
with:
53+
key: ${{ matrix.target }}
4454
- name: Set up Python ${{ matrix.python-version }}
4555
uses: actions/setup-python@v5
4656
with:
@@ -56,15 +66,19 @@ jobs:
5666
with:
5767
name: windows-wheels-${{ matrix.python-version }}-${{ matrix.target }}
5868
path: dist
69+
retention-days: 3
5970

6071
linux:
6172
runs-on: ubuntu-latest
6273
strategy:
6374
matrix:
64-
python-version: ["3.10", "3.11", "3.12"]
75+
python-version: ["3.10", "3.11", "3.12", "3.13"]
6576
target: [x86_64, aarch64]
6677
steps:
6778
- uses: actions/checkout@v4
79+
- uses: Swatinem/rust-cache@v2
80+
with:
81+
key: ${{ matrix.target }}
6882
- name: Set up Python ${{ matrix.python-version }}
6983
uses: actions/setup-python@v5
7084
with:
@@ -86,6 +100,7 @@ jobs:
86100
with:
87101
name: linux-wheels-${{ matrix.python-version }}-${{ matrix.target }}
88102
path: dist
103+
retention-days: 3
89104

90105
# TODO Add pypy
91106

@@ -108,4 +123,5 @@ jobs:
108123
TWINE_PASSWORD: ${{ secrets.PYPI_UPLOAD_TOKEN }}
109124
run: |
110125
pip install --upgrade twine
111-
twine upload --skip-existing *
126+
twine check *
127+
twine upload --skip-existing --verbose *

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 = "didkit"
3-
version = "0.3.4-alpha"
3+
version = "0.3.4-alpha.1"
44
authors = ["Spruce Systems, Inc."]
55
edition = "2018"
66
description = "Library for Verifiable Credentials and Decentralized Identifiers."

0 commit comments

Comments
 (0)