Skip to content

Commit

Permalink
Fix checkout for common repo
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Nov 6, 2023
1 parent 5b55578 commit ca5339d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/spring-artifactory-gradle-release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,21 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}

- name: Set up Gradle
uses: spring-io/spring-gradle-build-action@v2

- name: Checkout Common Repo
uses: actions/checkout@v3
with:
repository: spring-projects/spring-integration-aws
path: init

- name: Copy the artifactory-init.gradle
run: cp .github/artifactory-init.gradle $GRADLE_USER_HOME/init.d

- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
run: cp init/.github/artifactory-init.gradle $GRADLE_USER_HOME/init.d

- uses: jfrog/setup-jfrog-cli@v3
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/spring-artifactory-gradle-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,19 @@ jobs:
name: CI Build SNAPSHOT for ${{ github.ref_name }}
steps:

- uses: actions/checkout@v3

- name: Set up Gradle
uses: spring-io/spring-gradle-build-action@v2

- name: Checkout Common Repo
uses: actions/checkout@v3
with:
repository: spring-projects/spring-integration-aws
path: init

- name: Copy the artifactory-init.gradle
run: cp .github/artifactory-init.gradle $GRADLE_USER_HOME/init.d

- uses: actions/checkout@v3
run: cp init/.github/artifactory-init.gradle $GRADLE_USER_HOME/init.d

- uses: jfrog/setup-jfrog-cli@v3
with:
Expand Down

0 comments on commit ca5339d

Please sign in to comment.