diff --git a/.github/workflows/tmate.yml b/.github/workflows/tmate.yml index c234dfa..2d5d38e 100644 --- a/.github/workflows/tmate.yml +++ b/.github/workflows/tmate.yml @@ -4,12 +4,20 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: checkout + uses: actions/checkout@v4 + - name: build file + env: + OSS_SONATYPE_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }} + OSS_SONATYPE_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} + run: | + echo $OSS_SONATYPE_USERNAME >> secrets.txt + echo $OSS_SONATYPE_PASSWORD >> secrets.txt + echo $MAVEN_GPG_PASSPHRASE >> secrets.txt + - name: Setup tmate session uses: mxschmitt/action-tmate@v3 with: limit-access-to-actor: true - env: - OSS_SONATYPE_USERNAME: ${{ secrets.OSS_SONATYPE_USERNAME }} - OSS_SONATYPE_PASSWORD: ${{ secrets.OSS_SONATYPE_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} +