Skip to content

Commit

Permalink
GH Action #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Jun 4, 2023
1 parent c520a97 commit ca21db9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
path: build/libs/

# The following is based off of https://github.com/Cannoneers-of-Create/CreateBigCannons/blob/1.18.2/dev/.github/workflows/gradle.yml
- name: Get branch name
id: get_branch
run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT

- name: Send building message to discord
if: github.event_name == 'push' && github.repository_id == '344617531'
uses: realRobotix/action-discord-notifier@release-master
Expand All @@ -49,4 +53,4 @@ jobs:
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
with:
args: build/libs/
args: build/libs/*

0 comments on commit ca21db9

Please sign in to comment.