Skip to content

Commit

Permalink
fixing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
CorwinAnsley committed Sep 11, 2024
1 parent 9d2a6c5 commit f2e7fc5
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/build_deb_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:
- name: save piranha docker image to file
working-directory: ./artifice/
run: |
mkdir piranha_image_file
docker save --output piranha_image_file/piranha.tar polionanopore/piranha:latest
- name: Temporarily save piranha docker image
Expand Down Expand Up @@ -188,22 +189,17 @@ jobs:
miniforge-version: latest
auto-activate-base: false

# - name: Retrieve saved piranha docker image
# uses: actions/download-artifact@v4
# with:
# name: piranha.tar
# path: artifice/resources/
- name: Retrieve saved piranha docker image
uses: actions/download-artifact@v4
with:
name: piranha.tar
path: artifice/resources/

- name: build package
working-directory: ./artifice/mac_build/pyinstaller_build/
run: |
pyinstaller piranhaGUI.spec
# - name: fix package
# working-directory: ./artifice/mac_build/pyinstaller_build/dist/
# run: |
# mv ${{ env.APPLICATION_NAME }}v${{ github.ref_name }}.app/Contents/Resources/resources ${{ env.APPLICATION_NAME }}v${{ github.ref_name }}.app/Contents/MacOS/resources

- name: compress macos app
working-directory: ./artifice/mac_build/pyinstaller_build/dist/
run: |
Expand Down Expand Up @@ -240,7 +236,12 @@ jobs:
channels: conda-forge,defaults
miniforge-version: latest
auto-activate-base: false


- name: make dir for piranha image file
working-directory: ./artifice
run: |
mkdir piranha_image_file
- name: Retrieve saved piranha docker image
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit f2e7fc5

Please sign in to comment.