Skip to content

Commit

Permalink
fix: build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
riimuru committed Jun 11, 2023
1 parent 1eae4b9 commit 8d7da07
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- name : Retrieve Version
run: |
echo "::set-output name=VERSION_NAME::$(${{github.workspace}}/gradlew -q printVersionName)"
echo "name=VERSION_NAME=$(${{github.workspace}}/gradlew -q printVersionName)"
id: android_version

- name: Get version
Expand Down
4 changes: 3 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ android {
}

tasks.register("printVersionName") {
println project.ext.version_name
doLast {
println("${android.defaultConfig.versionName}")
}
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fun InfoPage(
val leftOffset =
-(LocalConfiguration.current.screenWidthDp * 2) + (scrollState.value * 1.1).toInt()
val offsetX by animateIntOffsetAsState(
targetValue = if (scrollState.value >= 700) IntOffset(
targetValue = if (leftOffset >= 0) IntOffset(
scrollState.value * 2,
0
) else IntOffset.Zero,
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ buildscript {
mavenCentral()
maven { url 'https://jitpack.io' }
}

}// Top-level build file where you can add configuration options common to all sub-projects/modules.

plugins {
id 'com.android.application' version '8.0.2' apply false
id 'com.android.library' version '8.0.2' apply false
Expand Down

0 comments on commit 8d7da07

Please sign in to comment.