Skip to content

Commit 8b67cc9

Browse files
authored
Try more fixes with multiple artifact upload (#27)
1 parent d82e288 commit 8b67cc9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
name: >-
4141
Publish Python 🐍 distribution 📦 to PyPI
4242
needs:
43-
- build_wheel
43+
- build_wheel
44+
- bazel_build
4445
runs-on: ubuntu-latest
4546
environment:
4647
name: pypi
@@ -54,8 +55,8 @@ jobs:
5455
with:
5556
name: python-package-distributions
5657
path: dist/
57-
# - name: Publish distribution 📦 to PyPI
58-
# uses: pypa/gh-action-pypi-publish@release/v1
58+
- name: Publish distribution 📦 to PyPI
59+
uses: pypa/gh-action-pypi-publish@release/v1
5960

6061
bazel_build:
6162
name: bazel build linux
@@ -89,20 +90,19 @@ jobs:
8990
and upload them to GitHub Release
9091
needs:
9192
- publish-to-pypi
92-
- bazel_build
9393
runs-on: ubuntu-latest
9494

9595
permissions:
9696
contents: write # IMPORTANT: mandatory for making GitHub Releases
9797
id-token: write # IMPORTANT: mandatory for sigstore
9898
steps:
9999
- name: Download all the bazel
100-
uses: actions/download-artifact@v3
100+
uses: actions/download-artifact@v4
101101
with:
102102
name: stacky_bazel
103103
path: dist/
104104
- name: Download all the dists
105-
uses: actions/download-artifact@v3
105+
uses: actions/download-artifact@v4
106106
with:
107107
name: python-package-distributions
108108
path: dist/
@@ -113,8 +113,6 @@ jobs:
113113
inputs: >-
114114
./dist/*.tar.gz
115115
./dist/*.whl
116-
./dist/stacky
117-
./dist/stacky.xar
118116
- name: Release
119117
uses: softprops/action-gh-release@v1
120118
with:
@@ -124,3 +122,5 @@ jobs:
124122
./dist/*.tar.gz
125123
./dist/*.whl
126124
./dist/*.whl.sha256
125+
./dist/stacky
126+
./dist/stacky.xar

0 commit comments

Comments
 (0)