Skip to content

[CI] Regenerated from spec (#24) #33

[CI] Regenerated from spec (#24)

[CI] Regenerated from spec (#24) #33

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
cache: true
- name: Pub cache
uses: actions/cache@v4
env:
cache-name: vrchat_dart
with:
path: ${{ env.PUB_CACHE }}
key: ${{ env.cache-name }}-${{ hashFiles('**/pubspec.lock') }}
restore-keys: ${{ env.cache-name }}-
- name: Read credentials from secrets
env:
SECRET_FILE_CONTENT: ${{ secrets.TEST_CREDENTIALS_FILE }}
run: |
echo $SECRET_FILE_CONTENT | base64 -d > vrchat_dart/example/bin/credentials.dart
- name: Run example
run: |
cd vrchat_dart/example
dart pub get
dart run bin/main.dart