[go: nahoru, domu]

Skip to content

Simplify reasoning about await soundness using a lemma about flatten. #113

Simplify reasoning about await soundness using a lemma about flatten.

Simplify reasoning about await soundness using a lemma about flatten. #113

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@a5ac7e51b41094c92402da3b24376905380afc29
- 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' || '' }}