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 }} APPLE_TEAM_ID: ${{ secrets.TEAMID }}
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }} CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
CSC_LINK: ${{ secrets.CSC_LINK }} CSC_LINK: ${{ secrets.CSC_LINK }}
run: pnpm dist-mac run: pnpm dist-mac --env-mode=loose
timeout-minutes: 60 timeout-minutes: 60
- name: Release - name: Release
+10 -3
View File
@@ -1,5 +1,6 @@
{ {
"$schema": "https://turbo.build/schema.json", "$schema": "https://turbo.build/schema.json",
"globalEnv": ["NODE_ENV", "GITHUB_TOKEN"],
"tasks": { "tasks": {
"dev": { "dev": {
"cache": false "cache": false
@@ -18,9 +19,13 @@
"typecheck": { "typecheck": {
"cache": false "cache": false
}, },
"build": {}, "build": {
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:local": {}, "build:local": {},
"build:electron": {}, "build:electron": {
"env": ["SENTRY_AUTH_TOKEN"]
},
"build:localdocker": {}, "build:localdocker": {},
"e2e": { "e2e": {
"dependsOn": [ "dependsOn": [
@@ -28,7 +33,9 @@
] ]
}, },
"dist-win": {}, "dist-win": {},
"dist-mac": {}, "dist-mac": {
"env": ["APPLEID", "APPLEIDPASS", "TEAMID", "CSC_KEY_PASSWORD", "CSC_LINK"]
},
"dist-mac:local": {}, "dist-mac:local": {},
"dist-linux": {}, "dist-linux": {},
"cleanup": {} "cleanup": {}