diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6a5abdd..3096c18a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,18 @@ jobs: name: Dart ${{ matrix.sdk }} on ${{ matrix.os }} runs-on: ${{ matrix.os }}-latest steps: + - run: | + [ -z "$ACTIONS_ID_TOKEN_REQUEST_URL" ] && echo "ACTIONS_ID_TOKEN_REQUEST_URL is not set" || echo "ACTIONS_ID_TOKEN_REQUEST_URL is set" + [ -z "$ACTIONS_ID_TOKEN_REQUEST_TOKEN" ] && echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN is not set" || echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN is set" - uses: actions/checkout@v4 - - uses: dart-lang/setup-dart@v1 + - run: ls -la "$HOME/.config/dart" || echo "no dart config dir" + - run: | + [ -z "$PUB_TOKEN" ] && echo "PUB_TOKEN is not set" || echo "PUB_TOKEN is set" + - uses: dart-lang/setup-dart@v1.6.1 with: sdk: ${{ matrix.sdk }} + - run: ls -la "$HOME/.config/dart" || echo "no dart config dir" + # - run: dart pub token remove --all - name: Install dependencies run: dart pub get - name: Validate dependencies @@ -44,4 +52,4 @@ jobs: uses: anchore/sbom-action@v0 with: path: ./ # Assuming actions/checkout default location - format: cyclonedx-json \ No newline at end of file + format: cyclonedx-json