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 baa3e46 commit 63030ac
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/actions/deploy-ubuntu/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ inputs:
gradle-cache-encryption-key:
description: 'The encryption key for the Gradle cache.'
required: false
reposilite-username:
description: 'The username for the Reposilite repository.'
required: false
reposilite-password:
description: 'The password for the Reposilite repository.'
required: false
reposilite-url:
description: 'The URL for the Reposilite repository.'
required: false
runs:
using: composite
steps:
Expand Down Expand Up @@ -307,4 +316,8 @@ 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
3 changes: 3 additions & 0 deletions .github/workflows/ffmpeg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ 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 63030ac

Please sign in to comment.