Skip to content

Commit

Permalink
ci: update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderEggers committed Apr 1, 2024
1 parent bd56f27 commit 564a514
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
push:
branches:
- main
workflow_dispatch:

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Deploy library
on:
release:
types: [published]
workflow_dispatch:

jobs:
build:
Expand All @@ -23,5 +22,6 @@ jobs:
- name: Release library
run: ./gradlew ksecurestorage:publish
env:
RELEASE_TAG_NAME: ${{ github.event.release.tag_name }}
GH_USER: ${{ secrets.GH_USER }}
GH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }}
2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = "io.github.alexandereggers"
version = "0.0.2"
version = (System.getenv("RELEASE_TAG_NAME") ?: "v0.0.0-local").replace("v", "")

kotlin {
androidTarget {
Expand Down

0 comments on commit 564a514

Please sign in to comment.