mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 04:18:31 +00:00
Vendor our StaticCode pkl package inside the project. (#3993)
* Vendor our StaticCode pkl package inside the project. * Update the Enterprise submodule.
This commit is contained in:
@@ -37,13 +37,6 @@ jobs:
|
|||||||
- name: Setup environment
|
- name: Setup environment
|
||||||
run: source ci_scripts/ci_common.sh && setup_github_actions_environment
|
run: source ci_scripts/ci_common.sh && setup_github_actions_environment
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ~/.pkl/cache
|
|
||||||
key: ${{ runner.os }}-pkl-${{ hashFiles('Secrets/Secrets.pkl') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pkl-
|
|
||||||
|
|
||||||
- name: Configure Enterprise
|
- name: Configure Enterprise
|
||||||
run: bundle exec fastlane config_element_pro
|
run: bundle exec fastlane config_element_pro
|
||||||
|
|
||||||
|
|||||||
@@ -38,3 +38,7 @@ build
|
|||||||
## macOS Files
|
## macOS Files
|
||||||
.DS_Store
|
.DS_Store
|
||||||
._*
|
._*
|
||||||
|
|
||||||
|
# Only commit Pkl packages (there may be other caches in here).
|
||||||
|
Secrets/vendor/*
|
||||||
|
!Secrets/vendor/package-2
|
||||||
|
|||||||
+1
-1
Submodule Enterprise updated: b04686d7cb...2c4b038f7a
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
// Analytics and Diagnostics
|
// Analytics and Diagnostics
|
||||||
|
|
||||||
import "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.0#/StaticCode.pkl"
|
import "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.1#/StaticCode.pkl"
|
||||||
|
|
||||||
sentryDSN: String? = read?("env:SENTRY_DSN")
|
sentryDSN: String? = read?("env:SENTRY_DSN")
|
||||||
postHogHost: String? = read?("env:POSTHOG_HOST")
|
postHogHost: String? = read?("env:POSTHOG_HOST")
|
||||||
|
|||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"name": "staticcode",
|
||||||
|
"packageUri": "package://pkg.pkl-lang.org/github.com/element-hq/pkl-tools/staticcode@1.0.1",
|
||||||
|
"version": "1.0.1",
|
||||||
|
"packageZipUrl": "https://github.com/element-hq/pkl-tools/releases/download/staticcode@1.0.1/staticcode@1.0.1.zip",
|
||||||
|
"packageZipChecksums": {
|
||||||
|
"sha256": "4f89837d86c6228620cb1986bb7dd19fec8665a5932fca18348204f24ba3f004"
|
||||||
|
},
|
||||||
|
"dependencies": {},
|
||||||
|
"authors": []
|
||||||
|
}
|
||||||
BIN
Binary file not shown.
+1
-1
@@ -429,6 +429,6 @@ end
|
|||||||
|
|
||||||
lane :config_secrets do
|
lane :config_secrets do
|
||||||
Dir.chdir "../Secrets" do
|
Dir.chdir "../Secrets" do
|
||||||
sh("pkl eval -o Secrets.swift Secrets.pkl")
|
sh("pkl eval --cache-dir vendor -o Secrets.swift Secrets.pkl")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user