File tree Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Expand file tree Collapse file tree 5 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 7676 if : env.lychee_exit_code != 0
7777 run : |
7878 cd repository/
79- title="Link Checker Report on ${{ steps.date.outputs.date } }"
79+ title="Link Checker Report on ${CURRENT_DATE }"
8080 gh issue create --title "$title" --body-file /tmp/lychee-out.md
8181 env :
8282 GH_TOKEN : ${{ github.token }}
83+ CURRENT_DATE : ${{ steps.date.outputs.date }}
Original file line number Diff line number Diff line change @@ -162,10 +162,11 @@ jobs:
162162 if : github.event_name == 'push' && matrix.os == 'ubuntu-latest'
163163
164164 - name : Upload the HTML ZIP archive and PDF as release assets
165- run : gh release upload ${{ github.ref_name } } doc/_build/pygmt-docs.zip doc/_build/pygmt-docs.pdf
165+ run : gh release upload ${REF_NAME } doc/_build/pygmt-docs.zip doc/_build/pygmt-docs.pdf
166166 if : github.event_name == 'release' && matrix.os == 'ubuntu-latest'
167167 env :
168168 GH_TOKEN : ${{ github.token }}
169+ REF_NAME : ${{ github.ref_name }}
169170
170171 - name : Checkout the gh-pages branch
171172 uses : actions/checkout@v4.2.2
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ jobs:
109109 mkdir build
110110 cd build
111111 cmake -G Ninja .. \
112- -DCMAKE_INSTALL_PREFIX=${{ env. GMT_INSTALL_DIR } } \
112+ -DCMAKE_INSTALL_PREFIX=${GMT_INSTALL_DIR} \
113113 -DCMAKE_BUILD_TYPE=Release \
114114 -DGMT_ENABLE_OPENMP=TRUE \
115115 -DGMT_USE_THREADS=TRUE
@@ -129,7 +129,7 @@ jobs:
129129 cd build
130130 call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
131131 cmake -G Ninja .. ^
132- -DCMAKE_INSTALL_PREFIX=${{ env. GMT_INSTALL_DIR } } ^
132+ -DCMAKE_INSTALL_PREFIX=${GMT_INSTALL_DIR} ^
133133 -DCMAKE_BUILD_TYPE=Release ^
134134 -DCMAKE_PREFIX_PATH=${{ env.MAMBA_ROOT_PREFIX }}\envs\pygmt\Library ^
135135 -DGMT_ENABLE_OPENMP=TRUE ^
Original file line number Diff line number Diff line change 5656 - name : Generate the image diff report
5757 env :
5858 repo_token : ${{ github.token }}
59+ PR_HEAD_SHA : ${{ github.event.pull_request.head.sha }}
5960 run : |
6061 echo -e "## Summary of changed images\n" > report.md
6162 echo -e "This is an auto-generated report of images that have changed on the DVC remote\n" >> report.md
9798 echo -e "</details>\n" >> report.md
9899
99100 # Mention git commit SHA in the report
100- echo -e "Report last updated at commit ${{ github.event.pull_request.head.sha } }" >> report.md
101+ echo -e "Report last updated at commit ${PR_HEAD_SHA }" >> report.md
101102
102103 # create/update PR comment
103104 cml comment update report.md
Original file line number Diff line number Diff line change 4141 shasum -a 256 baseline-images.zip
4242
4343 - name : Upload baseline image as a release asset
44- run : gh release upload ${{ github.ref_name } } baseline-images.zip
44+ run : gh release upload ${REF_NAME } baseline-images.zip
4545 env :
4646 GH_TOKEN : ${{ github.token }}
47+ REF_NAME : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments