Skip to content

Commit

Permalink
Upgrade GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahbeckford committed Sep 12, 2024
1 parent 12b99ee commit ea053bc
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/dkml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cache DkML compilers code
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-dkml-compilers
with:
path: .ci/dkml-compilers
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:

# Upload artifact

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.dkml_host_abi }}
path: dist/
Expand All @@ -139,23 +139,23 @@ jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write # Needed for softprops/action-gh-release@v1
contents: write # Needed for softprops/action-gh-release@v2
# Wait until `build` complete
needs:
- build
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: dist

- name: Restructure multi-ABI directories
run: ci/prepare-release.sh

- name: Release (only when Git tag pushed)
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
Expand Down

0 comments on commit ea053bc

Please sign in to comment.