sampleproject-rs 0.0.2__tar.gz → 0.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,53 @@
1
+ name: Publish Python Package
2
+
3
+ on:
4
+ release:
5
+ types:
6
+ - published
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build-sdist:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v5
16
+ - name: Build package
17
+ run: |
18
+ pipx run maturin sdist --out dist
19
+ pipx run twine check dist/*
20
+ - uses: actions/upload-artifact@v4
21
+ with:
22
+ name: pypi-files-sdist
23
+ path: dist
24
+ build-linux:
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - uses: actions/checkout@v5
28
+ - name: Build package
29
+ run: |
30
+ pipx run maturin build --release --out dist
31
+ pipx run twine check dist/*
32
+ - uses: actions/upload-artifact@v4
33
+ with:
34
+ name: pypi-files-linux
35
+ path: dist
36
+
37
+ publish:
38
+ needs: [build-sdist, build-linux]
39
+ runs-on: ubuntu-latest
40
+ environment: pypi
41
+ permissions:
42
+ id-token: write
43
+
44
+ steps:
45
+ - uses: actions/download-artifact@v5
46
+ with:
47
+ pattern: pypi-files-*
48
+ path: dist
49
+ merge-multiple: true
50
+ - name: Debug information
51
+ run: ls -lah dist/
52
+ - name: Publish package
53
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sampleproject-rs
3
- Version: 0.0.2
3
+ Version: 0.0.4
4
4
  Classifier: Development Status :: 1 - Planning
5
5
  Classifier: Intended Audience :: Developers
6
6
  Classifier: Topic :: Software Development :: Build Tools
@@ -23,7 +23,7 @@ name = "sampleproject-rs" # REQUIRED, is the only field that cannot be marked as
23
23
  #
24
24
  # For a discussion on single-sourcing the version, see
25
25
  # https://packaging.python.org/guides/single-sourcing-package-version/
26
- version = "0.0.2" # REQUIRED, although can be dynamic
26
+ version = "0.0.4" # REQUIRED, although can be dynamic
27
27
 
28
28
  # This is a one-line description or tagline of what your project does. This
29
29
  # corresponds to the "Summary" metadata field:
@@ -1,25 +0,0 @@
1
- name: Publish Python Package
2
-
3
- on:
4
- release:
5
- types:
6
- - published
7
-
8
- permissions:
9
- contents: read
10
-
11
- jobs:
12
- publish:
13
- runs-on: ubuntu-latest
14
- environment: pypi
15
- permissions:
16
- id-token: write
17
-
18
- steps:
19
- - uses: actions/checkout@v5
20
- - name: Build package
21
- run: |
22
- pipx run maturin build --release --out dist --sdist
23
- pipx run twine check dist/*
24
- - name: Publish package
25
- uses: pypa/gh-action-pypi-publish@release/v1