Skip to content

Commit

Permalink
move tmate up to be earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed May 23, 2024
1 parent 680943a commit efeca9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ jobs:
restore-keys: ${{ runner.os }}-m2
- name: Build, test, verify and publish snapshot
run: mvn -B verify -Djdk.version=${{ matrix.java }}
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
- name: Publish snapshot
if: ${{ matrix.java == '17' }}
run: mvn -e -X deploy -DskipAnalysis -DskipUT -DskipIT -Djdk.version=${{ matrix.java }}
env:
MAVEN_USERNAME: ${{ secrets.DATAVERSEBOT_SONATYPE_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.DATAVERSEBOT_SONATYPE_TOKEN }}
# Enable tmate debugging of manually-triggered workflows if the input option was provided
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}

0 comments on commit efeca9c

Please sign in to comment.