Skip to content

Commit

Permalink
Merge pull request #1335 from p4lang/fix-ci
Browse files Browse the repository at this point in the history
Fix CI issues
  • Loading branch information
jafingerhut authored Nov 14, 2024
2 parents 554f625 + edb87c9 commit 1981aa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/any-branch-uploads.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Any branch uploads

on:
push:
branches:
- '**'
on: workflow_dispatch

jobs:
any-branch-uploads:
Expand All @@ -26,4 +23,4 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'
SOURCE_DIR: 'docs/v1/build'
DEST_DIR: ci/${{ github.ref_name }} # only runs for push events
DEST_DIR: ci/${{ github.ref_name }} # only runs for push events
9 changes: 1 addition & 8 deletions p4-16/spec/install-asciidoctor-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,7 @@ gem install asciidoctor-bibtex
sudo apt-get --yes install cmake flex libglib2.0-dev libcairo2-dev libpango1.0-dev libxml2-dev libwebp-dev libzstd-dev libgraphicsmagick1-dev libmagickwand-dev ${OS_SPECIFIC_PACKAGES}
gem install asciidoctor-mathematical
gem install prawn-gmagick

# As of 2024-Jul-04, the official rouge repo has support for P4
# language syntax highlighting.
git clone https://github.com/rouge-ruby/rouge
cd rouge
git log -n 1 | cat
gem build rouge.gemspec
gem install rouge-4.4.0.gem
gem install rouge
gem install asciidoctor-bibtex
gem install asciidoctor-lists
gem install prawn-gmagick
Expand Down

0 comments on commit 1981aa0

Please sign in to comment.