Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zspz committed Feb 2, 2024
1 parent b5e542e commit 2be51f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/discord-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
steps:
- name: send-discord-webhook
id: discord
uses: NatroTeam/discord-release-action@v1.2
uses: NatroTeam/discord-release-action@v2
with:
webhook_url: ${{secrets.RELEASE_WEBHOOK_URL}}
token: "${{ secrets.RELEASE_BOT_TOKEN }}"
channel: "1012613971003584602"
4 changes: 2 additions & 2 deletions .github/workflows/discord-star.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: download-log
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
name: STAR_USERS
if_no_artifact_found: warn
Expand All @@ -16,7 +16,7 @@ jobs:
with:
webhook_url: ${{secrets.STAR_WEBHOOK_URL}}
- name: update-log
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: STAR_USERS
path: star_users.json
Expand Down

0 comments on commit 2be51f1

Please sign in to comment.