diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5c1293b..7e3eb91 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -17,17 +17,20 @@ jobs: matrix: os: - ubuntu-20.04 - - macOS-11 - - windows-2019 + - 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 @@ -38,12 +41,12 @@ jobs: matrix: os: - ubuntu-20.04 - - macOS-11 + - 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: | @@ -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 }} @@ -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 @@ -90,7 +93,7 @@ jobs: 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 }} @@ -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: diff --git a/.github/workflows/notice.yaml b/.github/workflows/notice.yaml index ec0093d..9f1a0f7 100644 --- a/.github/workflows/notice.yaml +++ b/.github/workflows/notice.yaml @@ -13,7 +13,7 @@ jobs: notice: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Regenerate NOTICE run: ./notice.sh > NOTICE - name: Validate NOTICE