Skip to content

Commit 2ea808d

Browse files
committed
ci: replace deprecated GH action for releases solidnerd#458
1 parent 6429915 commit 2ea808d

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

.github/workflows/master.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
outputs: type=docker,dest=/tmp/image-bookstack.tar
3838

3939
- name: Upload artifact
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: image-bookstack-master
4343
path: /tmp/image-bookstack.tar
@@ -51,7 +51,7 @@ jobs:
5151
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
5252

5353
- name: Download artifact
54-
uses: actions/download-artifact@v3
54+
uses: actions/download-artifact@v4
5555
with:
5656
name: image-bookstack-master
5757
path: /tmp
@@ -81,7 +81,7 @@ jobs:
8181
type=ref,event=branch
8282
8383
- name: Download artifact
84-
uses: actions/download-artifact@v3
84+
uses: actions/download-artifact@v4
8585
with:
8686
name: image-bookstack-master
8787
path: /tmp

.github/workflows/pr.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
outputs: type=docker,dest=/tmp/image-bookstack.tar
3939

4040
- name: Upload artifact
41-
uses: actions/upload-artifact@v3
41+
uses: actions/upload-artifact@v4
4242
with:
4343
name: image-bookstack
4444
path: /tmp/image-bookstack.tar
@@ -52,7 +52,7 @@ jobs:
5252
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
5353

5454
- name: Download artifact
55-
uses: actions/download-artifact@v3
55+
uses: actions/download-artifact@v4
5656
with:
5757
name: image-bookstack
5858
path: /tmp

.github/workflows/release.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
outputs: type=docker,dest=/tmp/image-bookstack.tar
3838

3939
- name: Upload artifact
40-
uses: actions/upload-artifact@v3
40+
uses: actions/upload-artifact@v4
4141
with:
4242
name: image-bookstack-master
4343
path: /tmp/image-bookstack.tar
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
5151

5252
- name: Download artifact
53-
uses: actions/download-artifact@v3
53+
uses: actions/download-artifact@v4
5454
with:
5555
name: image-bookstack-master
5656
path: /tmp
@@ -87,7 +87,7 @@ jobs:
8787
type=semver,pattern={{major}}.{{minor}}.{{patch}}
8888
8989
- name: Download artifact
90-
uses: actions/download-artifact@v3
90+
uses: actions/download-artifact@v4
9191
with:
9292
name: image-bookstack-master
9393
path: /tmp
@@ -146,12 +146,10 @@ jobs:
146146

147147
- name: Create Release
148148
id: create_release
149-
uses: actions/create-release@v1.1.4
149+
uses: softprops/action-gh-release@v1
150150
env:
151151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
152152
with:
153-
tag_name: ${{ github.ref }}
154-
release_name: ${{ github.ref }}
155153
body: ${{ steps.changelog.outputs.changelog }}
156154
draft: false
157155
prerelease: false

0 commit comments

Comments
 (0)