Skip to content

Commit

Permalink
updating versions
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinSchildhorn committed Jan 15, 2025
1 parent 610b732 commit 18491da
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 36 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-java@v2
- uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: "17"

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Write Faktory Server Code
run: echo ${{ secrets.TOUCHLAB_TEST_ARTIFACT_CODE }} > kmmbridge/TOUCHLAB_TEST_ARTIFACT_CODE
Expand Down
25 changes: 9 additions & 16 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,21 @@ on: workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Cache gradle
uses: actions/cache@v2
- uses: touchlab/[email protected]
id: version-name
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
file: ./gradle.properties
property: VERSION_NAME

- name: Read version from gradle.properties
id: read_version
uses: christian-draeger/[email protected]
with:
path: './gradle.properties'
property: 'VERSION_NAME'
- name: Echo Version
run: echo "${{ steps.version-name.outputs.propVal }}"

- name: Publish Plugin
run: ./gradlew publish --no-daemon --stacktrace --no-build-cache
Expand Down
25 changes: 9 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@ on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest

steps:
- name: Checkout the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/setup-java@v4
with:
distribution: "adopt"
java-version: "17"

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- uses: touchlab/[email protected]
id: version-name
Expand All @@ -18,20 +25,6 @@ jobs:
- name: Echo Version
run: echo "${{ steps.version-name.outputs.propVal }}"

- uses: actions/setup-java@v2
with:
distribution: "adopt"
java-version: "17"
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Cache gradle
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Finish Maven Central Release
run: ./gradlew releaseRepository --no-daemon --stacktrace --no-build-cache
env:
Expand Down

0 comments on commit 18491da

Please sign in to comment.