Skip to content

Commit a08ed3d

Browse files
authored
eng: add release loom job
1 parent b6fe5fb commit a08ed3d

12 files changed

Lines changed: 47 additions & 14 deletions

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy
22
on:
33
push:
4-
branches: [ master ]
4+
branches: [ "main" ]
55

66
permissions:
77
contents: write
@@ -32,7 +32,7 @@ jobs:
3232
./gradlew :app:assembleRelease --no-daemon
3333
- name: Move files
3434
run: |
35-
mv app/build/outputs/apk/release/app-release.apk app/build/app-release-unsigned.apk
35+
mv app/build/outputs/apk/release/app-release-unsigned.apk app/build/app-release-unsigned.apk
3636
mv app/build/outputs/bundle/release/app-release.aab app/build/app-release.aab
3737
- name: Upload AAB
3838
uses: actions/upload-artifact@v4

.github/workflows/releaseLoom.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: release-loom
2+
on:
3+
push:
4+
branches:
5+
- 'release/**'
6+
7+
jobs:
8+
build:
9+
name: Build and Release LoomIn
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Extract Version from Branch Name
17+
run: echo "VERSION=${GITHUB_REF#refs/heads/release/}" >> $GITHUB_ENV
18+
19+
- name: Debug Version
20+
run: echo "$VERSION"
21+
22+
- name: Set up JDK 17
23+
uses: actions/setup-java@v3
24+
with:
25+
distribution: 'temurin'
26+
java-version: '17'
27+
server-id: github
28+
settings-path: ${{ github.workspace }}
29+
30+
- name: Assemble Loom Library
31+
run: ./gradlew :loom:assemble -Pversion=$VERSION
32+
33+
- name: Publish Loom to GitHub Packages
34+
run: ./gradlew :loom:publish -Pversion=$VERSION -Pgpr.user=${{ secrets.GPR_USERNAME }} -Pgpr.token=${{ secrets.GPR_USERNAME }}
35+
env:
36+
GPR_USERNAME: ${{ secrets.GPR_USERNAME }}
37+
GPR_TOKEN: ${{ secrets.GPR_TOKEN }}

.github/workflows/test&build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test&Build
1+
name: test-build
22
on:
33
pull_request:
44
branches:
72.5 KB
Loading
405 KB
Loading

docs/icon/apple-touch-icon.png

64.2 KB
Loading

docs/icon/favicon-16x16.png

813 Bytes
Loading

docs/icon/favicon-32x32.png

2.58 KB
Loading

docs/icon/favicon.ico

15 KB
Binary file not shown.

favicon.ico

15 KB
Binary file not shown.

0 commit comments

Comments
 (0)