Skip to content

Commit

Permalink
try fix local properties secret again
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Mar 9, 2024
1 parent a010366 commit f3830d8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

- name: Create local properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: echo "$LOCAL_PROPERTIES" > local.properties && cat local.properties

- name: set up JDK
uses: actions/setup-java@v3
with:
Expand All @@ -40,6 +35,11 @@ jobs:
with:
xcode-version: latest

- name: Create local properties
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: echo "$LOCAL_PROPERTIES" > local.properties

- name: Run detekt
run: ./gradlew detektAll

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debugger-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
publish-windows:
runs-on: ubuntu-latest

environment: publishing
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debugger-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
publish-windows:
runs-on: macos-latest

environment: publishing
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debugger-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
jobs:
publish-windows:
runs-on: windows-latest

environment: publishing
steps:
- uses: actions/checkout@v3

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: Create local properties
with:
properties: ${{ secrets.LOCAL_PROPERTIES }}
env:
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }}
run: echo "$LOCAL_PROPERTIES" > local.properties
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:
jobs:
publish:
runs-on: macos-latest
environment: publishing

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit f3830d8

Please sign in to comment.