summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Milligan <tom.milligan@uipath.com>2024-08-16 07:54:11 +0100
committerTom Milligan <tom.milligan@uipath.com>2024-08-16 07:56:14 +0100
commit8751b3cd2455b617e3c9d1d231c992343abb0760 (patch)
treed9670446bcbd0574916b422c651cd287d5cb9c20
parent516bbc6e7e71afe1a40005482182872eb941b160 (diff)
chore: upgrade github actionsdeps-upgrade
-rw-r--r--.github/workflows/check.yml2
-rw-r--r--.github/workflows/deploy.yml8
-rw-r--r--CHANGELOG.md2
3 files changed, 7 insertions, 5 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index dac8f22..c8ad853 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -51,7 +51,7 @@ jobs:
toolchain: stable
components: rustfmt, clippy
- name: Install node toolchain
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: "20"
cache: "yarn"
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 816911f..c23f224 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -92,10 +92,12 @@ jobs:
tar czvf ../../stage/${{ env.CRATE_NAME }}-${{ steps.extract_tag.outputs.tag }}-${{ matrix.name }} ${{ env.CRATE_NAME }}
cd -
- name: Post Setup | Upload artifacts
- uses: actions/upload-artifact@v3
+ uses: actions/upload-artifact@v4
with:
name: ${{ env.CRATE_NAME }}-${{ steps.extract_tag.outputs.tag }}-${{ matrix.name }}
path: target/stage/*
+ # Idempotency: overwrite artefact by name if we're rerunning the deployment
+ overwrite: true
# Create GitHub release with Rust build targets and release notes
github_release:
@@ -109,7 +111,7 @@ jobs:
fetch-depth: 0
- name: Setup | Artifacts
- uses: actions/download-artifact@v3
+ uses: actions/download-artifact@v4
- name: Setup | Extract version
shell: bash
@@ -120,7 +122,7 @@ jobs:
run: |
cat CHANGELOG.md | sed -n '/^## ${{ steps.extract_version.outputs.version }}$/,/^## /p' | sed '$d' > RELEASE.md
- name: Build | Publish
- uses: softprops/action-gh-release@v1
+ uses: softprops/action-gh-release@v2
with:
files: ${{ env.CRATE_NAME }}-*/${{ env.CRATE_NAME }}-*
body_path: RELEASE.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c1c2cfe..15a8d8f 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@
### Changed
-- MSRV (minimum supported rust version) is now 1.76.0 ([#175](https://github.com/tommilligan/mdbook-admonish/pull/175))
+- MSRV (minimum supported rust version) is now 1.76.0 ([#208](https://github.com/tommilligan/mdbook-admonish/pull/208))
## v1.18.0