File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ jobs:
210210 }
211211
212212 - name : Set up Python
213- uses : actions/setup-python@v3
213+ uses : actions/setup-python@v4
214214 with :
215215 python-version : ${{ inputs.python }}
216216
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ jobs:
128128 core.setOutput('skip-init', skipInit)
129129
130130 - name : Set up Python
131- uses : actions/setup-python@v3
131+ uses : actions/setup-python@v4
132132 with :
133133 python-version : ${{ inputs.python }}
134134
Original file line number Diff line number Diff line change 3232 repository : ${{ github.repository }}.wiki
3333 path : ${{ env.WIKI }}
3434
35- - uses : actions/setup-python@v3
35+ - uses : actions/setup-python@v4
3636 if : fromJSON(env.SHOULD_RUN)
3737 with :
3838 python-version : ' 3.9'
Original file line number Diff line number Diff line change 6363 uses : actions/checkout@v3
6464
6565 - name : Install Python
66- uses : actions/setup-python@v3
66+ uses : actions/setup-python@v4
6767 with :
6868 python-version : 3.9
6969
Original file line number Diff line number Diff line change @@ -59,10 +59,10 @@ runs:
5959 echo "::group::Copy the build files"
6060 mkdir -p "$COPY_BUILD"
6161 rsync -avc --delete-after "$HTML/" "$COPY_BUILD/"
62- echo "::set-output name= build-html:: $COPY_BUILD"
62+ echo "build-html= $COPY_BUILD" >> ${GITHUB_OUTPUT}
6363 echo "::endgroup::"
6464 else
65- echo "::set-output name= build-html:: $HTML"
65+ echo "build-html= $HTML" >> ${GITHUB_OUTPUT}
6666 fi
6767
6868 - name : Upload artifact
7777 id : outs
7878 shell : bash
7979 run : |
80- echo "::set-output name= hash:: ${{ hashFiles(steps.build.outputs.build-html) }}"
80+ echo "hash= ${{ hashFiles(steps.build.outputs.build-html) }}" >> ${GITHUB_OUTPUT}
8181 if [[ "${{ inputs.artifact-upload }}" == "true" ]] ; then
82- echo "::set-output name= artifact-url:: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
82+ echo "artifact-url= https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> ${GITHUB_OUTPUT}
8383 fi
Original file line number Diff line number Diff line change @@ -123,5 +123,5 @@ runs:
123123 pip install -r "${{ inputs.dest-dir }}/requirements.txt"
124124 echo "::endgroup::"
125125
126- echo "::set-output name= build-script:: ${{ inputs.dest-dir }}/build.sh"
127- echo "::set-output name= build-html:: ${{ inputs.dest-dir }}/build/html"
126+ echo "build-script= ${{ inputs.dest-dir }}/build.sh" >> ${GITHUB_OUTPUT}
127+ echo "build-html= ${{ inputs.dest-dir }}/build/html" >> ${GITHUB_OUTPUT}
You can’t perform that action at this time.
0 commit comments