Skip to content

Commit

Permalink
Fix auto build not updating release tag
Browse files Browse the repository at this point in the history
Update dependencies.
  • Loading branch information
pilot51 committed May 19, 2024
1 parent c54dda2 commit f6db974
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Auto Build"

env:
tag: auto-build

on:
push:
branches:
Expand Down Expand Up @@ -38,13 +41,20 @@ jobs:
id: build
run: ./gradlew assemble

- name: GH Release
- name: Update tag
run: |
git tag -d ${{ env.tag }} || true
git push origin :refs/tags/${{ env.tag }} || true
git tag ${{ env.tag }}
git push origin ${{ env.tag }}
- name: Release
uses: softprops/action-gh-release@v2
if: ${{ steps.build.outcome == 'success' }}
with:
name: "Auto build"
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "latest"
tag_name: ${{ env.tag }}
prerelease: true
body: |
Use at your own risk!
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ android {
}

composeOptions {
kotlinCompilerExtensionVersion = "1.5.7"
kotlinCompilerExtensionVersion = "1.5.14"
}

compileOptions {
Expand Down Expand Up @@ -127,5 +127,5 @@ dependencies {
implementation("androidx.room:room-ktx:2.6.1")
ksp("androidx.room:room-compiler:2.6.1")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.9.24")
implementation("com.google.accompanist:accompanist-permissions:0.32.0")
implementation("com.google.accompanist:accompanist-permissions:0.34.0")
}
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id("com.google.devtools.ksp") version "1.9.21-1.0.15" apply false
id("com.google.devtools.ksp") version "1.9.24-1.0.20" apply false
}

buildscript {
Expand All @@ -9,7 +9,7 @@ buildscript {
}
dependencies {
classpath("com.android.tools.build:gradle:8.4.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.24")
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Dec 28 23:32:16 EST 2023
#Sun May 19 13:37:27 EDT 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit f6db974

Please sign in to comment.