mirror of
https://github.com/mihonapp/mihon-preview.git
synced 2025-01-16 05:03:06 +01:00
Update GitHub Actions (#32)
This commit is contained in:
parent
3ff8fd8167
commit
4531b41df8
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
ref: ${{ github.event.inputs.git-ref }}
|
ref: ${{ github.event.inputs.git-ref }}
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0
|
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
|
||||||
with:
|
with:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
distribution: temurin
|
distribution: temurin
|
||||||
@ -72,7 +72,7 @@ jobs:
|
|||||||
{delimiter}" >> $GITHUB_ENV
|
{delimiter}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up gradle
|
- name: Set up gradle
|
||||||
uses: gradle/actions/setup-gradle@cc4fc85e6b35bafd578d5ffbc76a5518407e1af0 # v4.2.1
|
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2
|
||||||
|
|
||||||
- name: Build APK
|
- name: Build APK
|
||||||
run: ./gradlew assembleStandardPreview
|
run: ./gradlew assembleStandardPreview
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV
|
echo "APK_X86_64_SHA=$sha" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create release
|
- name: Create release
|
||||||
uses: softprops/action-gh-release@01570a1f39cb168c169c802c3bceb9e93fb10974 # v2.1.0
|
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
|
||||||
with:
|
with:
|
||||||
tag_name: r${{ env.COMMIT_COUNT }}
|
tag_name: r${{ env.COMMIT_COUNT }}
|
||||||
name: Mihon Preview r${{ env.COMMIT_COUNT }}
|
name: Mihon Preview r${{ env.COMMIT_COUNT }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user