Skip to content

Specify null safety #137

Specify null safety

Specify null safety #137

Workflow file for this run

name: Dart CI
on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- 'specification/**'
- '.github/workflows/spec.yml'
pull_request:
branches: [ main ]
paths:
- 'specification/**'
- '.github/workflows/spec.yml'
jobs:
specification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
- name: Install latex tools
run: |
sudo apt-get update -qq
sudo apt-get install \
texlive-latex-base \
texlive-latex-extra \
texlive-fonts-recommended \
lmodern
- name: Build specification
run: |
cd specification
make
mkdir firebase
cp dartLangSpec.pdf firebase/DartLangSpecDraft.pdf
- name: Upload specification
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: FirebaseExtended/action-hosting-deploy@0cbcac4740c2bfb00d632f0b863b57713124eb5a
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DART_SPECIFICATION }}'
projectId: dart-specification
entryPoint: specification/
channelId: ${{ github.event_name == 'push' && 'live' || '' }}