[ci] now checkout all the branches and tags when detecting code changes

This commit is contained in:
tangxifan 2023-04-18 17:19:07 +08:00
parent 9e50b2d923
commit 691a6b2b73
1 changed files with 11 additions and 9 deletions

View File

@ -36,7 +36,9 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check for source code changes
id: changes
@ -112,7 +114,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build.sh
@ -196,7 +198,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build.sh
@ -237,7 +239,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build_ubuntu22p04.sh
@ -282,7 +284,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: |
@ -333,7 +335,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install dependencies
run: |
@ -370,7 +372,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download a built artifacts
uses: actions/download-artifact@v2
with:
@ -423,7 +425,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Download a built artifacts
uses: actions/download-artifact@v2
with:
@ -481,7 +483,7 @@ jobs:
access_token: ${{ github.token }}
- name: Checkout OpenFPGA repo
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: ${{matrix.config.name}}_GCC-8_(Ubuntu 20.04)
shell: bash