Merge pull request #3521 from YosysHQ/ci_upgrade

Update versions of CI actions used
This commit is contained in:
Miodrag Milanović 2022-10-21 17:24:03 +02:00 committed by GitHub
commit 32808b26c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 14 additions and 14 deletions

View File

@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: mymindstorm/setup-emsdk@v11
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache sources
id: cache-sources
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .
key: cache-yosys
@ -18,7 +18,7 @@ jobs:
run: |
make config-emcc
make YOSYS_VER=latest
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: yosysjs
path: yosysjs-latest.zip

View File

@ -84,7 +84,7 @@ jobs:
$CXX --version
- name: Checkout Yosys
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get iverilog
shell: bash
@ -93,7 +93,7 @@ jobs:
- name: Cache iverilog
id: cache-iverilog
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .local/
key: ${{ matrix.os.id }}-${{ hashFiles('iverilog/.git/refs/heads/master') }}

View File

@ -35,7 +35,7 @@ jobs:
cc --version
- name: Checkout Yosys
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Get iverilog
shell: bash
@ -44,7 +44,7 @@ jobs:
- name: Cache iverilog
id: cache-iverilog
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .local/
key: ${{ matrix.os.id }}-${{ hashFiles('iverilog/.git/refs/heads/master') }}

View File

@ -10,15 +10,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Take last commit
id: log
run: echo "::set-output name=message::$(git log --no-merges -1 --oneline)"
run: echo "message=$(git log --no-merges -1 --oneline)" >> $GITHUB_OUTPUT
- name: Take repository
id: repo
run: echo "::set-output name=message::$GITHUB_REPOSITORY"
run: echo "message=$GITHUB_REPOSITORY" >> $GITHUB_OUTPUT
- name: Bump version
if: "!contains(steps.log.outputs.message, 'Bump version') && contains(steps.repo.outputs.message, 'YosysHQ/yosys')"
run: |

View File

@ -6,16 +6,16 @@ jobs:
yosys-vcxsrc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Cache sources
id: cache-sources
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .
key: cache-yosys
- name: Build
run: make vcxsrc YOSYS_VER=latest
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: vcxsrc
path: yosys-win32-vcxsrc-latest.zip
@ -24,7 +24,7 @@ jobs:
runs-on: windows-2019
needs: yosys-vcxsrc
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: vcxsrc
path: .