declare env variables

This commit is contained in:
Carlos Valente
2025-01-04 22:28:09 +01:00
committed by Carlos Valente
parent 2d5b86808f
commit bd0c951da8
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -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
+10 -3
View File
@@ -1,5 +1,6 @@
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV", "GITHUB_TOKEN"],
"tasks": {
"dev": {
"cache": false
@@ -18,9 +19,13 @@
"typecheck": {
"cache": false
},
"build": {},
"build": {
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:local": {},
"build:electron": {},
"build:electron": {
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:localdocker": {},
"e2e": {
"dependsOn": [
@@ -28,7 +33,9 @@
]
},
"dist-win": {},
"dist-mac": {},
"dist-mac": {
"env": ["APPLEID", "APPLEIDPASS", "TEAMID", "CSC_KEY_PASSWORD", "CSC_LINK"]
},
"dist-mac:local": {},
"dist-linux": {},
"cleanup": {}