Skip to content

Commit 201414a

Browse files
committed
chore: try downloading artifacts from the calling workflow
1 parent fc235b2 commit 201414a

1 file changed

Lines changed: 20 additions & 14 deletions

File tree

.github/workflows/python-release.yaml

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -55,32 +55,38 @@ jobs:
5555
run: |
5656
echo "New version is ${{ steps.increment_version.outputs.new_version }}"
5757
58-
test:
59-
needs: [get_version]
60-
name: Build and test
61-
uses: ./.github/workflows/python-test.yaml
62-
secrets: inherit
63-
with:
64-
version: ${{ needs.get_version.outputs.new_version }}
58+
# test:
59+
# needs: [get_version]
60+
# name: Build and test
61+
# uses: ./.github/workflows/python-test.yaml
62+
# secrets: inherit
63+
# with:
64+
# version: ${{ needs.get_version.outputs.new_version }}
6565

6666
publish:
6767
defaults:
6868
run:
6969
working-directory: impit-python
7070
name: Publish
7171
runs-on: ubuntu-latest
72-
needs: [test]
72+
# needs: [test]
7373
steps:
7474
- name: Download all artifacts
7575
uses: actions/download-artifact@v4
7676
with:
77-
path: impit-python/dist
78-
79-
- name: Unzip artifacts
77+
path: impit-python/artifacts
78+
run-id: 14378458029
79+
github-token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
80+
81+
- name: List files
82+
run: |
83+
ls -lR
84+
85+
- name: Move all wheels to /wheels
8086
run: |
81-
unzip -o impit-python/dist/*.zip -d impit-python/dist
87+
mkdir -p wheels
88+
mv artifacts/**/*.{whl,tar.gz} wheels/
8289
8390
- name: List files
8491
run: |
85-
ls -la
86-
ls -la dist
92+
ls -lR

0 commit comments

Comments
 (0)