Skip to content

Commit

Permalink
refresh GitHub Actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
zachjs committed Apr 15, 2024
1 parent dc42659 commit d1c1dcd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,21 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- macOS-11
- windows-2019
- ubuntu-22.04
- macOS-13
- windows-2022
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install Dependencies (macOS)
if: runner.os == 'macOS'
run: brew install haskell-stack
- name: Build
run: make
- name: Prepare Artifact
shell: bash
run: cp LICENSE NOTICE README.md CHANGELOG.md bin
- name: Upload Artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}
path: bin
Expand All @@ -37,13 +40,13 @@ jobs:
strategy:
matrix:
os:
- ubuntu-20.04
- macOS-11
- ubuntu-22.04
- macOS-13
needs: build
env:
IVERILOG_REF: f31d0dcbc5ddcd97e1e2e6f7bc7eb0f5a547fe16
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Install Dependencies (macOS)
if: runner.os == 'macOS'
run: |
Expand All @@ -53,7 +56,7 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt-get install -y shunit2 flex bison autoconf gperf
- name: Cache iverilog
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.local
key: ${{ runner.OS }}-${{ env.IVERILOG_REF }}
Expand All @@ -71,7 +74,7 @@ jobs:
cd ..
fi
- name: Download Artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ runner.os }}
path: bin
Expand All @@ -82,15 +85,15 @@ jobs:
make test
release:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
matrix:
name: [macOS, Linux, Windows]
needs: build
if: github.event_name == 'release'
steps:
- name: Download Artifact
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: ${{ matrix.name }}
path: sv2v-${{ matrix.name }}
Expand All @@ -99,7 +102,7 @@ jobs:
- name: Create ZIP
run: zip -r sv2v-${{ matrix.name }} ./sv2v-${{ matrix.name }}
- name: Upload Release Asset
uses: actions/upload-release-asset@v1.0.1
uses: actions/upload-release-asset@v1.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/notice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ on:
- NOTICE
jobs:
notice:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Regenerate NOTICE
run: ./notice.sh > NOTICE
- name: Validate NOTICE
Expand Down

0 comments on commit d1c1dcd

Please sign in to comment.