Skip to content

Commit 9de36b0

Browse files
committed
chrome.yml: test
1 parent 4891d6d commit 9de36b0

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed

.github/workflows/chrome.yml

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,35 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v4
16-
- name: Set up JDK 17
17-
uses: actions/setup-java@v4
18-
with:
19-
java-version: '17'
20-
distribution: 'temurin'
21-
22-
- name: Setup Gradle
23-
uses: gradle/actions/setup-gradle@v4
24-
25-
- name: Build with Gradle Wrapper
26-
run: ./gradlew clean build distZip
27-
28-
- name: Unzip distribution
29-
run: unzip -q build/distributions/quarkdown.zip -d build/distributions/
30-
31-
- name: Compile Mock
32-
run: |
33-
./build/distributions/quarkdown/bin/quarkdown c mock/main.qmd -o output
34-
ls -d "$PWD/output/Quarkdown-Mock/"*
15+
# - uses: actions/checkout@v4
16+
# - name: Set up JDK 17
17+
# uses: actions/setup-java@v4
18+
# with:
19+
# java-version: '17'
20+
# distribution: 'temurin'
21+
#
22+
# - name: Setup Gradle
23+
# uses: gradle/actions/setup-gradle@v4
24+
#
25+
# - name: Build with Gradle Wrapper
26+
# run: ./gradlew clean build distZip
27+
#
28+
# - name: Unzip distribution
29+
# run: unzip -q build/distributions/quarkdown.zip -d build/distributions/
30+
#
31+
# - name: Compile Mock
32+
# run: |
33+
# ./build/distributions/quarkdown/bin/quarkdown c mock/main.qmd -o output
34+
# ls -d "$PWD/output/Quarkdown-Mock/"*
3535

3636
- name: Setup Chrome
3737
uses: browser-actions/setup-chrome@v1.7.3
3838
id: setup-chrome
3939

4040
- run: |
4141
${{ steps.setup-chrome.outputs.chrome-path }} --version
42-
${{ steps.setup-chrome.outputs.chrome-path }} --headless --disable-gpu --no-sandbox --print-to-pdf=output/mock.pdf file://$PWD/output/Quarkdown-Mock/index.html
42+
# ${{ steps.setup-chrome.outputs.chrome-path }} --headless --disable-gpu --no-sandbox --print-to-pdf=output/mock.pdf file://$PWD/output/Quarkdown-Mock/index.html
43+
${{ steps.setup-chrome.outputs.chrome-path }} --headless --disable-gpu --no-sandbox --print-to-pdf=output/mock.pdf https://iamgio.eu/quarkdown/demo/
4344

4445
- name: Upload artifact
4546
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)