-
Notifications
You must be signed in to change notification settings - Fork 0
New core #118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
New core #118
Changes from all commits
701c514
0e5c3e2
a87fad6
3daa216
3ae52fb
b628605
1af5980
77bd50c
31ab4ea
2d51b4f
0a4e84c
e54a235
9a79bde
ab259da
c5d9bc0
680bbde
d9e8a3a
89bd940
2e1e163
8bdbbd0
0c9466e
285ddc8
be5e950
65d781c
15e04a9
9b4099a
f9b103d
1555c1f
fe82966
cd6a0c5
7b895ea
6c6ef1a
bda1e02
feb81e7
9727aa4
8938baf
d2bf25f
4cfa760
7a744df
9c0f009
595f5eb
1e3aeca
40bbcc4
76fa0f9
7cc86e7
36336c7
e04fd81
24b8df2
93587b4
42c45bb
e63140c
d16ddff
d30db42
2aaa67c
664964e
570e637
eb7bc1e
8386382
eadfe64
0987bbc
f905755
59f4bc8
5bec736
b3d04f1
024d51f
b0510a0
4d225b6
e79c610
3fabe9a
d628b2e
a92f98d
9f711b9
3a176b9
c1494b1
58845b0
546460d
19652ef
ede84a6
2ff5cc2
ce1f6d1
1949a8c
3cf834f
0f71b24
3630187
82796b7
e52c481
96c2087
7ab9c8e
d76040d
0765838
8b45f77
4d18f0d
4ae8871
7a2d6f8
9228325
a7e6596
27f865f
cdbce27
15fe638
fd82595
a134472
6cfa145
41c6736
4e805c1
7e93d66
bd250c3
cd55ffe
ce4dd4f
39c9d95
17319d8
31ed9e7
1ca32bd
cb5dc38
37dd5fe
8b6289d
642bdfd
7a82b6e
b3429e2
096d785
15c4ab7
e9247ec
97170da
3b94de3
849f053
9e4fea3
2b28357
a96a7ef
af40dba
d5bd43d
a85beab
48764de
ec995f3
b9269c5
a0ac56d
e7e75f4
84a4454
32fd235
d7ac43c
3f10801
1bd6f43
2addbf8
416d40b
f0187c5
a30c7b0
940313e
fe6e9c6
d756e84
6fa9a08
54a6a4c
1f14386
f80201c
4a37051
8f71028
f1eca12
9f4e212
97dd597
f5a191b
46caf96
59a0776
b182c68
462117c
41deb57
2701093
83372d5
f023eca
ab6d058
f4e628f
a0b2f26
fabbadf
a5ea6ad
2f7e1a9
f0bf18e
a8349bc
19d269e
db4c83a
1f6c848
14efe5a
b0506c3
7c4f970
9031774
6598e97
d760673
578c61a
562c463
b6addb4
7274aa8
270e81f
d5ae88a
3c79a6c
a726c76
b3887fd
4cc3321
a776886
30e0aa4
8d7470e
46043a8
46f36a5
e511631
0802518
7a19c79
101703f
c1a736b
e83db30
06ddf32
270edb4
aea945a
7495291
925bf8b
ea94f28
1b80a8e
7aced4d
9152e5a
3e492c1
9cfa771
d037270
c57a0b1
27a19d2
9c52889
ece5af7
39ba12b
7553b7e
e0b25ff
e81effd
02bc6d8
5fdba6b
a6d7844
1b6495e
d81fde7
81f66ed
3401c9b
0801ace
c1ebe6b
cb8ddbf
7e696cb
124bc4b
bc877d6
76ac93b
4ea121a
847f1dd
491d1ef
e314edd
9946fa5
c468a43
28551ea
eab8343
f8d9a40
d80d39d
17cc4fe
3a52cb1
06e7b65
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| name: Build & upload the debug package | ||
| # Trigger on every tag creation | ||
| on: | ||
| push: | ||
| branches: | ||
| - 'new_core' | ||
| # A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
| jobs: | ||
| build: | ||
| runs-on: macos-latest | ||
| permissions: | ||
| contents: write | ||
| packages: write | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - name: set up JDK 17 | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| distribution: temurin | ||
| java-version: 17 | ||
| - name: Cache Gradle | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: | | ||
| ~/.gradle/caches | ||
| ~/.gradle/wrapper | ||
| key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-gradle- | ||
| - name: Cache Konan | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: | | ||
| ~/.konan/caches | ||
| ~/.konan/dependencies | ||
| ~/.konan/kotlin-native-prebuilt-macos-* | ||
| key: ${{ runner.os }}-konan-${{ hashFiles('**/Dependencies.kt') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-konan- | ||
|
|
||
| - name: Update local properties | ||
| env: | ||
| PUBLISH_REPO_USER: ${{ secrets.PUBLISH_REPO_USER }} | ||
| PUBLISH_REPO_TOKEN: ${{ secrets.PUBLISH_REPO_TOKEN }} | ||
| PUBLISH_CORE_VERSION: 0.2.${{ github.run_number }}-alpha | ||
| run: echo PUBLISH_REPO_USER=$PUBLISH_REPO_USER$'\n' | ||
| PUBLISH_CORE_VERSION=$PUBLISH_CORE_VERSION$'\n' | ||
| PUBLISH_REPO_TOKEN=$PUBLISH_REPO_TOKEN > ./local.properties | ||
|
|
||
| - name: Print local.properties content | ||
| run: cat ./local.properties | ||
|
|
||
| - name: Update versions properties | ||
| env: | ||
| PUBLISH_CORE_VERSION: 0.2.${{ github.run_number }}-alpha | ||
| run: echo PUBLISH_CORE_VERSION=$PUBLISH_CORE_VERSION> ./versions.properties | ||
|
|
||
| - name: Print versions.properties content | ||
| run: cat ./versions.properties | ||
|
|
||
| - name: Update version catalog | ||
| run: ./gradlew updateVersionCatalog | ||
|
|
||
| - name: Commit updated version catalog | ||
| run: | | ||
| git config user.name "GitHub Actions Bot" | ||
| git config user.email "actions@github.com" | ||
| git add gradle/libs.versions.toml | ||
| git commit -m "Update metacto-core version to 0.2.${{ github.run_number }}-alpha" | ||
| git push | ||
|
|
||
| - name: Publish to GitHub Packages | ||
| run: ./gradlew publishAllPublicationsToGithubRepository |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| .PHONY: pull-mains cleanup new-screen | ||
|
|
||
| # ======================PULL MAINS====================== | ||
| pull-mains: | ||
| @echo "Pulling main branches..." | ||
| git pull | ||
| git pull origin staging | ||
| git pull origin release | ||
|
|
||
| # ======================CLEANUP====================== | ||
| cleanup: | ||
| @echo "Cleaning project..." | ||
| rm -rf .idea | ||
| ./gradlew clean | ||
| rm -rf .gradle | ||
| rm -rf build | ||
| rm -rf */build | ||
| rm -rf samples/sample-ios-app/iosApp.xcworkspace | ||
| rm -rf samples/sample-ios-app/Pods | ||
| rm -rf samples/sample-ios-app/iosApp.xcodeproj/project.xcworkspace | ||
| rm -rf samples/sample-ios-app/iosApp.xcodeproj/xcuserdata | ||
|
|
||
| # ====================== NEW SCREEN====================== | ||
| new-screen: | ||
| @echo "Creating new screen..." | ||
| @feature=$(word 2, $(MAKECMDGOALS)); \ | ||
| screen=$(word 3, $(MAKECMDGOALS)); \ | ||
| if [ -z "$$feature" ] || [ -z "$$screen" ]; then \ | ||
| echo "Usage: make new-screen <feature> <screen>"; exit 1; \ | ||
| fi; \ | ||
| echo "Feature: $$feature, Screen: $$screen"; \ | ||
| ./scripts/new-screen.sh "$$feature" "$$screen" | ||
|
|
||
| # ====================== CATCHALL for dynamic targets ======================= | ||
| %: | ||
| @echo "Shamy is genius ;)" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Debug message accidentally committed in MakefileThe Makefile contains a catch-all target that prints "Shamy is genius ;)" for any unrecognized make command. This appears to be a personal joke or debug message that was likely not intended for the final codebase. It could confuse users who mistype a make target, as they would receive this unhelpful message instead of an error. |
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Release workflow targets non-existent publish task on root project
The workflow changed from
:coreApp:publishAllPublicationsToGithubRepositoryto:CmpCore:publishAllPublicationsToGithubRepository. However,CmpCoreis the root project name (defined insettings.gradle.kts), and the rootbuild.gradle.ktsdoesn't have themaven-publishplugin applied or any publishing configuration. This means thepublishAllPublicationsToGithubRepositorytask doesn't exist on the root project, causing the workflow to fail. The correct approach (used indeployNewCore.yml) is to run./gradlew publishAllPublicationsToGithubRepositorywithout a project prefix.