Skip to content

Commit 2be51f1

Browse files
committed
Update actions
discord-release: - updated to v2: NatroTeam/discord-release-action@3625b9b - changed webhook_url for token and channel variables discord-star: - updated action-download-artifact and upload-artifact to their respective latest versions, the latter's update may cause issues
1 parent b5e542e commit 2be51f1

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎.github/workflows/discord-release.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
steps:
99
- name: send-discord-webhook
1010
id: discord
11-
uses: NatroTeam/discord-release-action@v1.2
11+
uses: NatroTeam/discord-release-action@v2
1212
with:
13-
webhook_url: ${{secrets.RELEASE_WEBHOOK_URL}}
13+
token: "${{ secrets.RELEASE_BOT_TOKEN }}"
14+
channel: "1012613971003584602"

‎.github/workflows/discord-star.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: download-log
10-
uses: dawidd6/action-download-artifact@v2
10+
uses: dawidd6/action-download-artifact@v3
1111
with:
1212
name: STAR_USERS
1313
if_no_artifact_found: warn
@@ -16,7 +16,7 @@ jobs:
1616
with:
1717
webhook_url: ${{secrets.STAR_WEBHOOK_URL}}
1818
- name: update-log
19-
uses: actions/upload-artifact@v3
19+
uses: actions/upload-artifact@v4
2020
with:
2121
name: STAR_USERS
2222
path: star_users.json

0 commit comments

Comments
 (0)