Skip to content

Commit

Permalink
chehcking slug action
Browse files Browse the repository at this point in the history
  • Loading branch information
mahen-n committed Feb 4, 2024
1 parent 94bf6f7 commit 28ed760
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ jobs:
distribution: 'corretto'
java-version: '11'
cache: 'gradle'
- name: Setup Gradle 7.6
uses: gradle/gradle-build-action@v2
- name: slug_action
- run: |
uses: rlespinasse/github-slug-action@v4
run: |
echo "Partial variables"
echo " repository owner : ${{ env.GITHUB_REPOSITORY_OWNER_PART }}"
echo " repository name : ${{ env.GITHUB_REPOSITORY_NAME_PART }}"
Expand All @@ -42,7 +41,8 @@ jobs:
echo "Short SHA variables"
echo " sha : ${{ env.GITHUB_SHA_SHORT }}"
echo " pull request sha : ${{ env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT }}"
uses: rlespinasse/github-slug-action@v4
- name: Setup Gradle 7.6
uses: gradle/gradle-build-action@v2
with:
gradle-version: 7.6
- run: gradle assemble -Pversion=${{ github.ref_name }}
Expand Down

0 comments on commit 28ed760

Please sign in to comment.