Skip to content

Commit

Permalink
feat(build): replace artifactory with github packages
Browse files Browse the repository at this point in the history
Now using the free managed Github packages service for hosting packages.

BREAKING: You need to authenticate against Github for sucessfully pulling packages.
  • Loading branch information
Silthus committed May 12, 2020
1 parent 0cc380c commit f83a08a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/gradle.yml
Expand Up @@ -24,7 +24,9 @@ jobs:
run: chmod +x gradlew

- name: Build
run: ./gradlew -Partifactory_user=${{ secrets.ARTIFACTORY_USER }} -Partifactory_password=${{ secrets.ARTIFACTORY_PASSWORD }}
run: ./gradlew
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
Expand Down
6 changes: 4 additions & 2 deletions build.gradle
Expand Up @@ -61,8 +61,10 @@ repositories {
}
}

maven { url = 'https://artifactory.silthus.net/artifactory/libs-release' }
maven { url = 'https://artifactory.silthus.net/artifactory/libs-snapshot' }
maven {
name = 'github'
url = 'https://maven.pkg.github.com/Silthus'
}

maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://oss.sonatype.org/content/repositories/central' }
Expand Down

0 comments on commit f83a08a

Please sign in to comment.