Skip to content

Commit

Permalink
ci: Update dropdown options
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertGemmaJr committed Jun 17, 2024
1 parent ddef3cd commit dfc863b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/workflow-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ on:
required: true
default: "All"
options:
- "All"
- "Windows"
- "macOS-x64"
- "macOS-arm64"
- "Linux"
- "all"
- "windows"
- "mac-x64"
- "mac-arm64"
- "linux"

jobs:
setup-job:
Expand All @@ -33,11 +33,11 @@ jobs:
- name: Set matrix
id: set-matrix
run: |
[ ${{ github.event.inputs.os }} == Windows ] && matrix='["windows-latest"]'
[ ${{ github.event.inputs.os }} == macOS-x64 ] && matrix='["macOS-13"]'
[ ${{ github.event.inputs.os }} == macOS-arm64 ] && matrix='["macOS-latest"]'
[ ${{ github.event.inputs.os }} == Linux ] && matrix='["ubtuntu-latest"]'
[ ${{ github.event.inputs.os }} == All ] && matrix='["windows-latest", "macOS-13", "macOS-latest", "ubuntu-latest"]'
[ ${{ github.event.inputs.os }} == windows ] && matrix='["windows-latest"]'
[ ${{ github.event.inputs.os }} == mac-x64 ] && matrix='["macOS-13"]'
[ ${{ github.event.inputs.os }} == mac-arm64 ] && matrix='["macOS-latest"]'
[ ${{ github.event.inputs.os }} == linux ] && matrix='["ubtuntu-latest"]'
[ ${{ github.event.inputs.os }} == all ] && matrix='["windows-latest", "macOS-13", "macOS-latest", "ubuntu-latest"]'
echo "matrix=$matrix" >> $GITHUB_OUTPUT
package-and-upload:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
"build:turk-prolific": "dotenv -e env/.env.turk-prolific npm run build",
"make": "electron-forge make",
"make:windows": "electron-forge make --arch x64 --targets @electron-forge/maker-squirrel",
"make:linux": "electron-forge make --arch x64 --targets @electron-forge/maker-deb",
"make:mac-x64": "electron-forge make --arch x64 --targets @electron-forge/maker-dmg",
"make:mac-arm64": "electron-forge make --arch x64 --targets @electron-forge/maker-dmg",
"make:linux": "electron-forge make --arch x64 --targets @electron-forge/maker-deb",
"cli": "node cli.mjs",
"commit": "git-cz",
"format": "prettier --write .",
Expand Down

0 comments on commit dfc863b

Please sign in to comment.