ci: Tell users which commit trigger the build

This commit is contained in:
Ahmad Ansori Palembani 2024-05-31 06:33:42 +07:00
parent 2fc6ab1b62
commit 999dd62386
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 3 additions and 2 deletions

View file

@ -72,7 +72,7 @@ jobs:
run: | run: |
set -x set -x
echo "VERSION_TAG=r$(git rev-list --count HEAD)" >> $GITHUB_ENV echo "VERSION_TAG=r$(git rev-list --count HEAD)" >> $GITHUB_ENV
echo "PREV_TAG=$(git tag -l | grep 'r' | tail -1)" >> $GITHUB_ENV echo "COMMIT_HASH=$(git rev-parse HEAD)" >> $GITHUB_ENV
# PROD # PROD
- name: Build release build and run tests - name: Build release build and run tests
@ -180,6 +180,8 @@ jobs:
body: | body: |
> [!CAUTION] > [!CAUTION]
> _**This alpha version is for testing only!**_ > _**This alpha version is for testing only!**_
>
> This build is triggered by commit [${{ env.COMMIT_HASH }}](https://github.com/null2264/yokai/commit/${{ env.COMMIT_HASH }})
It is not ready for daily use and we do not guarantee its usability. Please download the latest stable releases instead (https://github.com/null2264/yokai/releases/latest). If you insist, please be sure to ALWAYS backup before updating. It is not ready for daily use and we do not guarantee its usability. Please download the latest stable releases instead (https://github.com/null2264/yokai/releases/latest). If you insist, please be sure to ALWAYS backup before updating.

View file

@ -12,7 +12,6 @@ import androidx.compose.runtime.getValue
import androidx.compose.runtime.rememberCoroutineScope import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.structuralEqualityPolicy import androidx.compose.runtime.structuralEqualityPolicy
import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.dp
import androidx.glance.text.Text
import dev.yokai.presentation.component.preference.widget.EditTextPreferenceWidget import dev.yokai.presentation.component.preference.widget.EditTextPreferenceWidget
import dev.yokai.presentation.component.preference.widget.InfoWidget import dev.yokai.presentation.component.preference.widget.InfoWidget
import dev.yokai.presentation.component.preference.widget.ListPreferenceWidget import dev.yokai.presentation.component.preference.widget.ListPreferenceWidget