Skip to content

Commit

Permalink
ci: updated workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
CromFr committed Dec 7, 2024
1 parent fec3a06 commit 279e49f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
platform: ["linux-gnu", "windows-msvc"]
arch: ["i686", "x86_64"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Dub cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.dub
key: ${{ runner.os }}-dub-${{ hashFiles('**/dub.json') }}
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
done
- name: Upload bin artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: "nwn-lib-d-tools-${{ matrix.platform }}-${{ matrix.arch }}"
path: bin
Expand All @@ -139,7 +139,7 @@ jobs:
- name: Upload documentation artifacts
if: matrix.platform == 'linux-gnu' && matrix.arch == 'x86_64'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: "documentation.tar.xz"
path: documentation.tar.xz
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
-XDELETE "https://api.github.com/repos/${{ github.repository }}/releases/$RELEASE_ID"
fi
- uses: actions/checkout@v2
- uses: actions/checkout@v4
if: steps.rel_info.outputs.tag != ''
with:
fetch-depth: 0
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:

- name: Download artifacts
if: steps.rel_info.outputs.tag != ''
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: "nwn-lib-d-tools-${{ matrix.platform }}-${{ matrix.arch }}"
path: "nwn-lib-d-tools"
Expand Down Expand Up @@ -291,7 +291,7 @@ jobs:
# GH pages
- name: Download documentation artifact
if: steps.rel_info.outputs.tag != '' && matrix.platform == 'linux-gnu' && matrix.arch == 'x86_64'
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: "documentation.tar.xz"

Expand All @@ -302,7 +302,7 @@ jobs:
- name: Deploy documentation
if: steps.rel_info.outputs.tag != '' && matrix.platform == 'linux-gnu' && matrix.arch == 'x86_64'
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
Expand Down

0 comments on commit 279e49f

Please sign in to comment.