diff --git a/.github/workflows/publish-artifacts.yaml b/.github/workflows/publish-artifacts.yaml new file mode 100644 index 000000000..432641c56 --- /dev/null +++ b/.github/workflows/publish-artifacts.yaml @@ -0,0 +1,23 @@ +name: Publish package to GitHub Packages +on: + # release: + # types: [created] + pull_request: + branches: [ master ] + +jobs: + publish: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 + with: + java-version: '7' + distribution: 'zulu' + - name: Publish package + run: mvn --batch-mode deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 91649cb27..c636fe579 100644 --- a/pom.xml +++ b/pom.xml @@ -5,14 +5,14 @@ OAuth for Spring Security Parent Project for OAuth Support for Spring Security pom - 2.0.13.RELEASE + 2.0.13.6.HEIMDALL http://static.springframework.org/spring-security/oauth - spring-security-oauth + spring-security-oauth2 - tests - samples + + @@ -473,25 +473,12 @@ - - - - static.springframework.org - scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-security/oauth - - + - repo.spring.io - Spring Release Repository - http://repo.spring.io/libs-release-local + github + GitHub tadodotcom Apache Maven Packages + https://maven.pkg.github.com/tadodotcom/spring-security-oauth - - - repo.spring.io - Spring Snapshot Repository - http://repo.spring.io/libs-snapshot-local - - - + diff --git a/spring-security-oauth2/pom.xml b/spring-security-oauth2/pom.xml index ed2e9582d..a639bb19f 100644 --- a/spring-security-oauth2/pom.xml +++ b/spring-security-oauth2/pom.xml @@ -5,7 +5,7 @@ org.springframework.security.oauth spring-security-oauth-parent - 2.0.13.RELEASE + 2.0.13.6.HEIMDALL spring-security-oauth2