[ci] now use upload-artifact v4 due to deprecation

This commit is contained in:
tangxifan 2024-06-24 15:23:55 -07:00
parent dd5c3dc769
commit 428f5b4803
1 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ jobs:
- name: Check ccache size - name: Check ccache size
run: ccache -s run: ccache -s
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
if: ${{ matrix.config.cc == 'gcc-11'}} if: ${{ matrix.config.cc == 'gcc-11'}}
with: with:
name: openfpga name: openfpga
@ -475,7 +475,7 @@ jobs:
shell: bash shell: bash
run: source openfpga.sh && source openfpga_flow/regression_test_scripts/${{matrix.config.name}}.sh --debug --show_thread_logs run: source openfpga.sh && source openfpga_flow/regression_test_scripts/${{matrix.config.name}}.sh --debug --show_thread_logs
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
if: ${{ failure() }} if: ${{ failure() }}
with: with:
name: failed_${{matrix.config.name}}_regression_log name: failed_${{matrix.config.name}}_regression_log
@ -524,7 +524,7 @@ jobs:
unset OPENFPGA_PATH unset OPENFPGA_PATH
source openfpga.sh && source openfpga_flow/regression_test_scripts/${{matrix.config.name}}.sh --debug --show_thread_logs source openfpga.sh && source openfpga_flow/regression_test_scripts/${{matrix.config.name}}.sh --debug --show_thread_logs
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v4
if: ${{ failure() }} if: ${{ failure() }}
with: with:
name: failed_${{matrix.config.name}}_regression_log name: failed_${{matrix.config.name}}_regression_log