Skip to content

Commit

Permalink
ci: fix publish credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
silenium-dev committed Jul 24, 2024
1 parent 63030ac commit 35f2b4d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .github/actions/deploy-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ runs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
# cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
cache-encryption-key: ${{ inputs.gradle-cache-encryption-key }}
gradle-home-cache-cleanup: true
build-scan-publish: true
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
Expand All @@ -316,8 +316,4 @@ runs:

- name: Build with Gradle
shell: bash
env:
REPOSILITE_USERNAME: ${{ inputs.reposilite-username }}
REPOSILITE_PASSWORD: ${{ inputs.reposilite-password }}
REPOSILITE_URL: ${{ inputs.reposilite-url }}
run: ./gradlew build publish -Pnative.extension=${{ matrix.ext }} --console=plain --info --build-cache --configure-on-demand --parallel
6 changes: 3 additions & 3 deletions .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ env:
CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }}
STAGING_REPOSITORY: ${{ secrets.STAGING_REPOSITORY }}
REPOSILITE_USERNAME: ${{ secrets.REPOSILITE_USERNAME }}
REPOSILITE_PASSWORD: ${{ secrets.REPOSILITE_PASSWORD }}
REPOSILITE_URL: "https://reposilite.silenium.dev/snaphots"
permissions:
contents: write
jobs:
Expand Down Expand Up @@ -87,9 +90,6 @@ jobs:
- uses: actions/checkout@v4
- uses: ./.github/actions/deploy-ubuntu
with:
reposilite-url: "https://reposilite.silenium.dev/snaphots"
reposilite-username: ${{ secrets.REPOSILITE_USERNAME }}
reposilite-password: ${{ secrets.REPOSILITE_PASSWORD }}
gradle-cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}
# macosx-arm64:
# runs-on: macos-12
Expand Down

0 comments on commit 35f2b4d

Please sign in to comment.