Skip to content

Commit

Permalink
declare env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Jan 4, 2025
1 parent 2d5b868 commit bd0c951
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.TEAMID }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }}
run: pnpm dist-mac
run: pnpm dist-mac --env-mode=loose
timeout-minutes: 60

- name: Release
Expand Down
13 changes: 10 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV", "GITHUB_TOKEN"],
"tasks": {
"dev": {
"cache": false
Expand All @@ -18,17 +19,23 @@
"typecheck": {
"cache": false
},
"build": {},
"build": {
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:local": {},
"build:electron": {},
"build:electron": {
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:localdocker": {},
"e2e": {
"dependsOn": [
"^build"
]
},
"dist-win": {},
"dist-mac": {},
"dist-mac": {
"env": ["APPLEID", "APPLEIDPASS", "TEAMID", "CSC_KEY_PASSWORD", "CSC_LINK"]
},
"dist-mac:local": {},
"dist-linux": {},
"cleanup": {}
Expand Down

0 comments on commit bd0c951

Please sign in to comment.