Skip to content

Commit

Permalink
please work :(
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Oct 16, 2023
1 parent b3c20f6 commit dfa364c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 18 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-multiver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,27 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: cu-artifacts
path: artifacts/unmerged/*.jar
path: artifacts/unmerged/**/*.jar

- name: upload merged artifacts
uses: actions/upload-artifact@v3
with:
name: cu-artifacts-merged
path: artifacts/merged/*.jar

- name: get names of merged artifacts
id: get_names
run: |
echo "names=$(ls artifacts/merged/*.jar)" >> GITHUB_OUTPUT
- name: send artifacts to webhook
if: success()
uses: appleboy/discord-action@v1.0.0
with:
webhook_id: ${{ secrets.WEBHOOK_ID }}
webhook_token: ${{ secrets.WEBHOOK_TOKEN }}
args: '# Build #${{ github.run_number }}'
file: artifacts/merged/*.jar
file: ${{ steps.get_names.outputs.names }}

- name: send failure message
if: failure()
Expand Down
18 changes: 2 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
build/
*.ipr
run/
*.iws
out/
**/run/
*.iml
.gradle/
output/
bin/
libs/

.classpath
.project
.idea/
classes/
.metadata
.vscode
.settings
*.launch

build.properties
common/src/main/resources/*.accesswidener
.DS_Store
artifacts/

0 comments on commit dfa364c

Please sign in to comment.