Skip to content

Commit edfd3a5

Browse files
authored
Merge pull request #41 from DavidCEllis/update-actions
Update github actions, checkout with tags
2 parents 0ce0363 + 14cded7 commit edfd3a5

3 files changed

Lines changed: 35 additions & 27 deletions

File tree

.github/workflows/build-exe.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v5
14+
with:
15+
fetch-depth: 0
1416
- name: Set up Python
1517
uses: actions/setup-python@v6
1618
with:
@@ -23,7 +25,7 @@ jobs:
2325
run: |
2426
python application/setup.py build
2527
- name: Store the built application
26-
uses: actions/upload-artifact@v4
28+
uses: actions/upload-artifact@v5
2729
with:
2830
name: splitguides-app
2931
path: build/SplitGuides_v*.zip
@@ -40,12 +42,12 @@ jobs:
4042
id-token: write # IMPORTANT: mandatory for sigstore
4143
steps:
4244
- name: Download the zipapp
43-
uses: actions/download-artifact@v5
45+
uses: actions/download-artifact@v6
4446
with:
4547
name: splitguides-app
4648
path: dist/
4749
- name: Sign the zipapp with Sigstore
48-
uses: sigstore/gh-action-sigstore-python@v3.0.1
50+
uses: sigstore/gh-action-sigstore-python@v3.1.0
4951
with:
5052
release-signing-artifacts: false
5153
inputs: >-

.github/workflows/publish_to_pypi.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111

1212
steps:
1313
- uses: actions/checkout@v5
14+
with:
15+
fetch-depth: 0
1416
- name: Set up Python
1517
uses: actions/setup-python@v6
1618
with:
@@ -24,7 +26,7 @@ jobs:
2426
- name: Build a binary wheel and a source tarball
2527
run: python3 -m build
2628
- name: Store the distribution packages
27-
uses: actions/upload-artifact@v4
29+
uses: actions/upload-artifact@v5
2830
with:
2931
name: python-package-distributions
3032
path: dist/
@@ -43,7 +45,7 @@ jobs:
4345

4446
steps:
4547
- name: Download all the dists
46-
uses: actions/download-artifact@v5
48+
uses: actions/download-artifact@v6
4749
with:
4850
name: python-package-distributions
4951
path: dist/
@@ -64,12 +66,12 @@ jobs:
6466

6567
steps:
6668
- name: Download all the dists
67-
uses: actions/download-artifact@v5
69+
uses: actions/download-artifact@v6
6870
with:
6971
name: python-package-distributions
7072
path: dist/
7173
- name: Sign the dists with Sigstore
72-
uses: sigstore/gh-action-sigstore-python@v3.0.1
74+
uses: sigstore/gh-action-sigstore-python@v3.1.0
7375
with:
7476
release-signing-artifacts: false
7577
inputs: >-

.github/workflows/test-builds.yml

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v5
17+
with:
18+
fetch-depth: 0
1719
- name: Set up Python
1820
uses: actions/setup-python@v6
1921
with:
@@ -26,7 +28,7 @@ jobs:
2628
run: >-
2729
python application/setup.py build
2830
- name: Store the built app
29-
uses: actions/upload-artifact@v4
31+
uses: actions/upload-artifact@v5
3032
with:
3133
name: splitguides-app-dev
3234
path: build/SplitGuides_v*.zip
@@ -37,22 +39,24 @@ jobs:
3739
runs-on: windows-latest
3840

3941
steps:
40-
- uses: actions/checkout@v5
41-
- name: Set up Python
42-
uses: actions/setup-python@v6
43-
with:
44-
python-version: "3.12"
45-
- name: Install pypa/build
46-
run: >-
47-
python3 -m
48-
pip install
49-
build
50-
--user
51-
- name: Build a binary wheel and a source tarball
52-
run: python3 -m build
53-
- name: Store the distribution packages
54-
uses: actions/upload-artifact@v4
55-
with:
56-
name: python-package-distributions
57-
path: dist/
58-
retention-days: 1
42+
- uses: actions/checkout@v5
43+
with:
44+
fetch-depth: 0
45+
- name: Set up Python
46+
uses: actions/setup-python@v6
47+
with:
48+
python-version: "3.12"
49+
- name: Install pypa/build
50+
run: >-
51+
python3 -m
52+
pip install
53+
build
54+
--user
55+
- name: Build a binary wheel and a source tarball
56+
run: python3 -m build
57+
- name: Store the distribution packages
58+
uses: actions/upload-artifact@v5
59+
with:
60+
name: python-package-distributions
61+
path: dist/
62+
retention-days: 1

0 commit comments

Comments
 (0)