Skip to content

Commit

Permalink
Using artefact to move exe from windows container to the ubuntu uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
howroyd committed Aug 26, 2023
1 parent e8b07d4 commit 4b10651
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,28 @@ jobs:
python tools/create_exe.py
Compress-Archive -Path dist/* -Destination release.zip
dir
- name: Upload zipped exe to release
uses: JasonEtco/upload-to-release@master
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
args: release.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
name: release-executable-windows-zip
path: release.zip

executable-upload:
runs-on: ubuntu-latest
needs: windows-build
permissions:
contents: read
steps:
- name: Download math result for job 2
uses: actions/download-artifact@v3
with:
name: release-executable-windows-zip
- name: Upload zipped exe to release
uses: JasonEtco/upload-to-release@master
with:
args: release.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pypi-publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4b10651

Please sign in to comment.