Pack and Upload Windows Installers #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pack and Upload Windows Installers | |
on: | |
workflow_dispatch: | |
workflow_call: | |
jobs: | |
pack-and-upload-windows: | |
runs-on: ubuntu-latest | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_EC2_METADATA_DISABLED: true | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Homebrew | |
id: set-up-homebrew | |
uses: Homebrew/actions/setup-homebrew@41775cf0c82ef066f1eb39cea1bd74697ca5b735 | |
- name: Install NSIS | |
run: brew install nsis | |
- name: yarn install | |
run: yarn --immutable --network-timeout 1000000 | |
- name: pack windows installer | |
run: yarn oclif pack win --defender-exclusion hidden --root="./packages/cli" | |
- name: upload windows installer | |
run: yarn oclif upload win --root="./packages/cli" |