Skip to content

Commit

Permalink
Add archive url environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Apr 9, 2023
1 parent 337412d commit 4b4cdb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- name: Maven Publish
id: maven_publish
env:
ARCHIVE_URL: ${{ secrets.TEACON_ARCHIVE_URL }}
ARCHIVE_ENDPOINT: ${{ secrets.TEACON_ARCHIVE_ENDPOINT }}
ARCHIVE_ACCESS_KEY: ${{ secrets.TEACON_ARCHIVE_ACCESS_KEY }}
ARCHIVE_SECRET_KEY: ${{ secrets.TEACON_ARCHIVE_SECRET_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion gradle/teacon-forge.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ gradle.afterProject { Project current ->
it.repositories {
maven {
name = "teacon"
url = "s3://maven/"
url = System.env.ARCHIVE_URL
credentials(AwsCredentials) {
accessKey = System.env.ARCHIVE_ACCESS_KEY
secretKey = System.env.ARCHIVE_SECRET_KEY
Expand Down

0 comments on commit 4b4cdb3

Please sign in to comment.