Closed Haruka0640 closed 2 years ago
The githubToken
option is intended to help with displaying the test results in the GitHub UI.
However, I see you are instead using the sshAgent
option in your workflow, which is intended to allow using private repos in your dependencies.
What is your actual intention?
Closing due to lack of information.
**Description of the bug
Access token is unavailable Error
occurs.**How to reproduce
game-ci/unity-test-runner@v2
.expected behavior.
Additional details
My workflow
``` name: Test, Build, and Release My Demo on: workflow_dispatch: {} # schedule: # - cron: '0 19 * * 1-5' jobs: tests: name: Test Code Quality runs-on: ubuntu-latest timeout-minutes: 60 steps: - name: Checkout Repository uses: actions/checkout@v2 with: fetch-depth: 0 - name: Access to private repo uses: webfactory/ssh-agent@v0.5.4 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - name: Cache Library uses: actions/cache@v2 with: path: Library key: Library - name: Run EditMode and PlayMode Tests id: tests uses: game-ci/unity-test-runner@v2 env: UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} with: sshAgent: ${{ env.SSH_AUTH_SOCK }} - uses: actions/upload-artifact@v2 if: always() with: name: Test results for ${{ matrix.testMode }} path: ${{ steps.tests.outputs.artifactsPath }} ```Error message
``` ########################### # Play Mode Results # ###########################