Skip to content

Commit

Permalink
Revert "temporary, ci: Disable build action message for now"
Browse files Browse the repository at this point in the history
The actions package is availible again, so we can re-enable the build action message.
This reverts commit 6054313.
  • Loading branch information
realRobotix committed Aug 17, 2024
1 parent 0b3e234 commit 05c7c39
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,14 @@ jobs:
find . -regextype posix-extended -regex "\.\/($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))\/build\/libs\/${{ steps.read_properties.outputs.archives_base_name }}-${{ steps.get_mod_version.outputs.version }}\+mc\.${{ steps.read_properties.outputs.minecraft_version }}-($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))-build\.${{ github.run_number }}\.jar" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
# - name: Send building message to discord
# env:
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# if: env.DISCORD_WEBHOOK != ''
# uses: realRobotix/action-discord-notifier@master
# with:
# webhook: ${{ secrets.DISCORD_WEBHOOK }}
# message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}
- name: Send building message to discord
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
if: env.DISCORD_WEBHOOK != ''
uses: realRobotix/action-discord-notifier@master
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}

- name: Send built file to discord
env:
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ jobs:
find . -regextype posix-extended -regex "\.\/($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))\/build\/libs\/${{ steps.read_properties.outputs.archives_base_name }}-${{ steps.get_mod_version.outputs.version }}\+mc\.${{ steps.read_properties.outputs.minecraft_version }}-($(tr "," "|" <<< ${{ steps.read_properties.outputs.enabled_platforms }}))\.jar" >> $GITHUB_OUTPUT
echo "$EOF" >> $GITHUB_OUTPUT
# - name: Send building message to discord
# env:
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
# if: env.DISCORD_WEBHOOK != ''
# uses: realRobotix/action-discord-notifier@master
# with:
# webhook: ${{ secrets.DISCORD_WEBHOOK }}
# message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}
- name: Send building message to discord
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
if: env.DISCORD_WEBHOOK != ''
uses: realRobotix/action-discord-notifier@master
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
message-title: Building mod from branch ${{ steps.get_branch.outputs.branch }}

- name: Send built file to discord
env:
Expand Down

0 comments on commit 05c7c39

Please sign in to comment.