Skip to content

Commit

Permalink
refactor: Build/Test Workflows
Browse files Browse the repository at this point in the history
This breaks apart our build/test workflows to make them reusable. With the
aim of being able to reduce deplication, improve maintainability, and efficiency
of how the workflows run.
  • Loading branch information
techman83 committed May 4, 2024
1 parent e2cd244 commit 79c2fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ jobs:
name: ${{ inputs.configuration }}-repack-unsigned
path: _build/repack/
retention-days: 7
if: github.event_name == 'workflow_call'
- uses: actions/upload-artifact@v4
with:
name: ${{ inputs.configuration }}-out
path: _build/out/
retention-days: 1
if: github.event_name == 'workflow_call'
- run: echo "${{ toJson(github) }}"
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
steps:
- name: Send Discord Notification
env:
JOB_STATUS: ${{ job.status }}
JOB_STATUS: failure
WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK }}
HOOK_OS_NAME: ${{ runner.os }}
WORKFLOW_NAME: ${{ github.workflow }}
Expand Down

0 comments on commit 79c2fad

Please sign in to comment.