Skip to content

Bump actions/checkout from 3.5.3 to 3.6.0 #330

Bump actions/checkout from 3.5.3 to 3.6.0

Bump actions/checkout from 3.5.3 to 3.6.0 #330

Workflow file for this run

name: CI
on:
# Run on PRs and pushes to the default branch.
push:
branches: [ main ]
paths:
- 'specification/**'
- '.github/workflows/ci.yml'
pull_request:
branches: [ main ]
paths:
- 'specification/**'
- '.github/workflows/ci.yml'
jobs:
specification:
runs-on: ubuntu-latest
if: |
(
(github.event_name == 'push'
&& github.ref == 'refs/heads/main'
&& github.repository == 'dart-lang/language'
) ||
(github.event.pull_request.head.repo.full_name == github.repository)
)
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744
- 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
- uses: FirebaseExtended/action-hosting-deploy@120e124148ab7016bec2374e5050f15051255ba2
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_DART_SPECIFICATION }}'
projectId: dart-specification
entryPoint: specification/
channelId: ${{ github.event_name == 'push' && 'live' || '' }}