Skip to content

Commit 2a93f45

Browse files
committed
Fix.
1 parent 4303d07 commit 2a93f45

File tree

2 files changed

+13
-34
lines changed

2 files changed

+13
-34
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -27,28 +27,10 @@ jobs:
2727
run: src/test/bash/start.sh
2828
- name: Build
2929
run: ./mvnw -B -U clean verify
30-
deploy-snapshots:
31-
name: Deploy Snapshots
32-
runs-on: ubuntu-latest
33-
if: ${{ github.repository == 'spring-projects/spring-vault' }}
34-
steps:
35-
- uses: actions/checkout@v5
36-
- name: Set up Java
37-
uses: actions/setup-java@v5
38-
with:
39-
java-version: '25'
40-
distribution: temurin
41-
cache: maven
42-
- name: Cache Vault
43-
uses: actions/[email protected]
44-
with:
45-
path: |
46-
download
47-
vault
48-
key: ${{ runner.os }}-${{ hashFiles('src/test/bash/**') }}
4930
- name: Deploy to Artifactory
31+
if: ${{ github.repository == 'spring-projects/spring-vault' }}
5032
env:
51-
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
52-
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
33+
ARTIFACTORY_USR: ${{ secrets.ARTIFACTORY_USERNAME }}
34+
ARTIFACTORY_PSW: ${{ secrets.ARTIFACTORY_PASSWORD }}
5335
BUILD_URL: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
5436
run: ci/snapshot.sh

pom.xml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -747,19 +747,6 @@
747747
</repositories>
748748
</profile>
749749

750-
<profile>
751-
752-
<id>snapshot</id>
753-
754-
<distributionManagement>
755-
<repository>
756-
<id>spring-libs-snapshot</id>
757-
<name>Spring Snapshot Repository</name>
758-
<url>https://repo.spring.io/libs-snapshot-local</url>
759-
</repository>
760-
</distributionManagement>
761-
</profile>
762-
763750
<profile>
764751

765752
<id>release</id>
@@ -1010,4 +997,14 @@
1010997
</profile>
1011998
</profiles>
1012999

1000+
<repositories>
1001+
<repository>
1002+
<id>spring-snapshot</id>
1003+
<url>https://repo.spring.io/snapshot</url>
1004+
<snapshots>
1005+
<enabled>true</enabled>
1006+
</snapshots>
1007+
</repository>
1008+
</repositories>
1009+
10131010
</project>

0 commit comments

Comments
 (0)