-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
714db86
commit a14aebc
Showing
4 changed files
with
22 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,27 +21,35 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: List directory structure before building | ||
run: ls -R | ||
|
||
- name: Generate Protos | ||
run: ./gradlew generateProtos | ||
|
||
- name: List directory structure after building | ||
run: ls -R | ||
|
||
- name: List generated Kotlin files for debugging | ||
run: ls -R lib/build/generated/source/wire/ | ||
|
||
- name: Upload generated Kotlin files | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: generated-kotlin-files | ||
path: build/generated/source/wire/*.kt | ||
|
||
- name: Push to separate repo (replace with your details) | ||
- name: Push to 'ksharma-xyz/Kotlin-Proto' repo | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: 'ksharma/Kotlin-Proto' # Target repo | ||
repository: 'ksharma-xyz/Kotlin-Proto' # Target repo | ||
token: ${{ secrets.TOKEN }} # Use secret for authentication | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name 'Karan Sharma' | ||
git config user.email '[email protected]' | ||
git config --global init.defaultBranch <main> | ||
git config --global init.defaultBranch main | ||
- name: Create a new branch | ||
run: | | ||
git checkout -b kotlin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.