Skip to content

Commit

Permalink
Misunderstood how the new pattern/merge feature was supposed to work …
Browse files Browse the repository at this point in the history
…– hopefully fixed now
  • Loading branch information
mstimberg committed Mar 8, 2024
1 parent 9c7f64b commit 43eb956
Showing 1 changed file with 13 additions and 53 deletions.
66 changes: 13 additions & 53 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,30 +102,11 @@ jobs:
- build
- build-linux
steps:
- name: load Linux x86 distribution 📦
- name: load distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-linux-auto64
path: dist/
- name: load Linux arm distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-linux-aarch64
path: dist/
- name: load Windows distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-windows-latest
path: dist/
- name: load macOS 12 distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-macOS-12
path: dist/
- name: load macOS 14 distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-macOS-14
pattern: packages-*
merge-multiple: true
path: dist/
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -143,30 +124,11 @@ jobs:
- build
- build-linux
steps:
- name: load Linux x86 distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-linux-auto64
path: dist/
- name: load Linux arm distribution 📦
- name: load distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-linux-aarch64
path: dist/
- name: load Windows distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-windows-latest
path: dist/
- name: load macOS 12 distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-macOS-12
path: dist/
- name: load macOS 14 distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-macOS-14
pattern: packages-*
merge-multiple: true
path: dist/
- name: Publish distribution release 📦 to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down Expand Up @@ -212,15 +174,13 @@ jobs:
- name: load Linux x86 distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-linux-auto64
pattern: "*cp312-manylinux*.whl"
path: dist/
- name: load Linux arm distribution 📦
uses: actions/download-artifact@v4
with:
name: packages-linux-aarch64
pattern: "*cp312-manylinux*.whl"
path: dist/
pattern: packages-linux-*
merge-multiple: true
path: packages
- run: |
mkdir dist
cp packages/Brian2*cp312-manylinux*_x86_64.whl dist
cp packages/Brian2*cp312-manylinux*_aarch64.whl dist
- name: Build (and potentially push) the Docker image
uses: docker/build-push-action@v5
# https://github.com/docker/build-push-action
Expand Down

0 comments on commit 43eb956

Please sign in to comment.