Skip to content

Commit

Permalink
Try to run act
Browse files Browse the repository at this point in the history
[Deploy My forest to Pages/build]   🐳  docker exec cmd=[/usr/local/bin/node /var/run/act/actions/teatimeguest-setup-texlive-action@v3/dist/index.mjs] user= workdir=
| file:///run/act/actions/teatimeguest-setup-texlive-action@v3/dist/index.mjs:62638
| var reStack = new RegExp("(?:\\r?\\n(?:.\\[[\\d;]+m)* {4}at.*)+", "v");
|               ^
|
| SyntaxError: Invalid flags supplied to RegExp constructor 'v'
|     at new RegExp (<anonymous>)
|     at file:///run/act/actions/teatimeguest-setup-texlive-action@v3/dist/index.mjs:62638:15
|
| Node.js v18.20.4
[Deploy My forest to Pages/build]   ❌  Failure - Main Setup TeX Live
  • Loading branch information
utensil committed Sep 26, 2024
1 parent 9b1a8c6 commit e7f73c2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
tlmgr --version
which latex
- name: Setup Pages
if: ${{ !env.ACT }}
id: pages
uses: actions/configure-pages@v5
- name: Set-up OCaml
Expand Down Expand Up @@ -89,6 +90,7 @@ jobs:
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload Pages artifact
if: ${{ !env.ACT }}
uses: actions/upload-pages-artifact@v3
with:
path: ./output
Expand Down
12 changes: 12 additions & 0 deletions act.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# run the following to install deps the first time
# brew install orbstack
# brew install gh
# brew install act

# gh auth login

# wait for 20GB download the first time
# --container-architecture linux/amd64 is need on my Mac M1
act -s GITHUB_TOKEN="$(gh auth token)" push -j build --container-architecture linux/amd64 -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:full-latest

0 comments on commit e7f73c2

Please sign in to comment.