Skip to content

Order of operations change #4

Order of operations change

Order of operations change #4

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- master
env:
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
build:
runs-on: ubuntu-latest
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:
path: .
- name: List Linux Build Artifacts
run: |
ls dist/linux/
working-directory: .
- name: Deploy Linux to S3
run: |
aws s3 cp "dist/linux/PDF Flow" "s3://pdf-flow/PDF FLow"
working-directory: .