Skip to content

Commit

Permalink
Fix GH action variables in CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Oct 19, 2023
1 parent 126e07a commit a1205a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
build_snapshot:
runs-on: ubuntu-latest
if: github.repository_owner == 'spring-projects'
name: CI Build $GITHUB_REF_NAME SNAPSHOT
name: CI Build ${{ github.ref_name }} SNAPSHOT
steps:

- uses: actions/checkout@v3
Expand All @@ -42,7 +42,7 @@ jobs:
--server-id-deploy repo.spring.io \
--repo-resolve snapshot \
--repo-deploy snapshot
echo JFROG_CLI_BUILD_NAME=${GITHUB_REPOSITORY#*/}-$GITHUB_REF_NAME >> $GITHUB_ENV
echo JFROG_CLI_BUILD_NAME=${{ github.event.repository.name }}-${{ github.ref_name }} >> $GITHUB_ENV
echo JFROG_CLI_BUILD_NUMBER=$GITHUB_RUN_NUMBER >> $GITHUB_ENV
- name: Build and Publish
Expand Down

0 comments on commit a1205a7

Please sign in to comment.