File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,21 @@ jobs:
3535 - name : Checkout Pandoc-wasm
3636 uses : actions/checkout@v4
3737
38+ - name : Extract versions from version.txt
39+ id : extract-version
40+ run : |
41+ VERSION=$(cat version.txt)
42+ echo "Extracted version: $VERSION"
43+ PANDOC_VERSION=$(echo $VERSION | cut -d '+' -f 2)
44+ echo "Extracted Pandoc version: $VERSION"
45+ echo "VERSION=$VERSION" >> $GITHUB_ENV
46+ echo "PANDOC_VERSION=$PANDOC_VERSION" >> $GITHUB_ENV
47+
3848 - name : Checkout Pandoc
3949 uses : actions/checkout@v4
4050 with :
4151 repository : jgm/pandoc
42- ref : main
52+ ref : ${{ env.PANDOC_VERSION }}
4353 path : pandoc
4454
4555 - name : Patch Pandoc sources
4858 patch -p1 < ../patch/pandoc.patch
4959 cd ..
5060
51- - name : Extract version from pandoc.cabal
52- id : extract-version
53- run : |
54- VERSION=$(grep '^version:' pandoc/pandoc.cabal | awk '{print $2}')
55- echo "Extracted version: $VERSION"
56- echo "VERSION=$VERSION" >> $GITHUB_ENV
57-
5861 - name : gen-plan-json
5962 run : |
6063 pushd pandoc
Original file line number Diff line number Diff line change 1+ 0.1+3.6.3
You can’t perform that action at this time.
0 commit comments