Skip to content

Commit

Permalink
Order of operations change
Browse files Browse the repository at this point in the history
  • Loading branch information
bgorman87 committed Sep 10, 2023
1 parent 6d83a72 commit 3c45ad9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,22 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install AWS CLI
run: |
sudo apt-get update
sudo apt-get install awscli
if: runner.os == 'Linux'

- name: Package Application Windows
uses: JackMcKew/pyinstaller-action-windows@main
with:
path: .

- name: Deploy Windows to S3
run: |
aws s3 cp "dist/windows/PDF Flow.exe" "s3://pdf-flow/PDF Flow.exe"
working-directory: .

- name: PyInstaller Linux
uses: JackMcKew/pyinstaller-action-linux@python3.10
with:
Expand All @@ -33,14 +44,7 @@ jobs:
ls dist/linux/
working-directory: .

- name: Install AWS CLI
run: |
sudo apt-get update
sudo apt-get install awscli
if: runner.os == 'Linux'

- name: Deploy to S3
- name: Deploy Linux to S3
run: |
aws s3 cp "dist/windows/PDF Flow.exe" "s3://pdf-flow/PDF Flow.exe"
aws s3 cp "dist/linux/PDF Flow" "s3://pdf-flow/PDF FLow"
working-directory: .

0 comments on commit 3c45ad9

Please sign in to comment.