Skip to content

Commit

Permalink
Update github_snapshot_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanlorng authored Nov 6, 2024
1 parent d4e4dee commit f8af775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github_snapshot_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:

# Publish Snapshot Library
- name: Publish Library
if: ${{ contains(matrix.*,'publish') && github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && contains(matrix.*,'publish') }}
run: |
./gradlew publishToMavenLocal
./gradlew publish
Expand All @@ -81,7 +81,7 @@ jobs:
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}

- name: Upload Library Artifact
if: ${{ contains(matrix.*,'publish') && github.event_name == 'push' }}
if: ${{ github.event_name == 'push' && contains(matrix.*,'publish') }}
uses: actions/upload-artifact@v4
with:
name: Repository-${{ github.run_id }}
Expand Down

0 comments on commit f8af775

Please sign in to comment.