Skip to content

Commit

Permalink
testing the snapshot from GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
cdsap committed Nov 7, 2024
1 parent 6a15f75 commit 75b20b8
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 97 deletions.
87 changes: 0 additions & 87 deletions .circleci/config.yml

This file was deleted.

18 changes: 9 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Run Gradle on PRs
on:
pull_request:
push:
branches: [main]
branches: [master]
jobs:
ktlint:
timeout-minutes: 300
Expand Down Expand Up @@ -43,16 +43,16 @@ jobs:
timeout-minutes: 300
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest]
version: [11]
vendor: [zulu]
runs-on: ${{ matrix.os }}
services:
docker:
image: docker:19.03.12 # Specify Docker version
options: --privileged # Allow privileged mode for Docker
image: docker:19.03.12
options: --privileged
ports:
- 2375:2375 # Expose Docker daemon on port 2375
- 2375:2375
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -67,16 +67,16 @@ jobs:
timeout-minutes: 300
strategy:
matrix:
os: [ubuntu-latest]
os: [ubuntu-latest, macos-latest]
version: [11]
vendor: [zulu]
runs-on: ${{ matrix.os }}
services:
docker:
image: docker:19.03.12 # Specify Docker version
options: --privileged # Allow privileged mode for Docker
image: docker:19.03.12
options: --privileged
ports:
- 2375:2375 # Expose Docker daemon on port 2375
- 2375:2375

steps:
- uses: actions/checkout@v4
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Publish Snapshots

on:
push:
branches:
- gha

jobs:
publishing_snapshots:
timeout-minutes: 300
strategy:
matrix:
os: [ubuntu-latest]
version: [11]
vendor: [zulu]
runs-on: ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.version }}
distribution: ${{ matrix.vendor }}

- name: Publish snapshots
run: ./gradlew publishAllPublicationsToSnapshotsRepository
env:
SIGNING_KEY: $${{ secrets.SIGNING_KEY }}
SIGNING_PASSWORD: $${{ secrets.SIGNING_PASSWORD }}
USERNAME_SNAPSHOT: $${{ secrets.USERNAME_SNAPSHOT }}
PASSWORD_SNAPSHOT: $${{ secrets.PASSWORD_SNAPSHOT }}


Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.github.cdsap.talaiot.buildplugins

object Constants {
const val TALAIOT_VERSION = "2.0.6-SNAPSHOT"
const val TALAIOT_VERSION = "2.0.7-SNAPSHOT"
const val DEFAULT_GROUP_PLUGIN = "io.github.cdsap.talaiot.plugin"
const val DEFAULT_GROUP_LIBRARY = "io.github.cdsap.talaiot"
}

0 comments on commit 75b20b8

Please sign in to comment.