FEAT:(BACKENDDEV-1929) validateUtil > RequiredField 추가 #21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Publish package to GitHub Packages | |
| on: | |
| push: | |
| branches: | |
| - prod | |
| pull_request: | |
| branches: | |
| - prod | |
| types: [ closed ] | |
| jobs: | |
| publish: | |
| if: github.event.pull_request.merged == true || github.event_name == 'push' | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '17' | |
| distribution: 'zulu' | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v4 # v4.0.0 | |
| - name: Make gradlew executable | |
| run: chmod +x ./gradlew | |
| - name: Publish package | |
| run: ./gradlew publish | |
| env: | |
| NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} | |
| NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} |