Skip to content

Commit

Permalink
Upload builds as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Jan 27, 2024
1 parent 7fa8e57 commit 2af6f08
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,20 @@ jobs:
- id: commit
uses: prompt/actions-commit-hash@v3
- run: tar cvzf inspircd.${{matrix.version}}-${{steps.commit.outputs.short}}.${{matrix.os}}.tar.gz run/
- uses: "marvinpinto/action-automatic-releases@latest"
- uses: actions/upload-artifact@v4
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: inspircd*.tar.gz
# Name of the artifact to upload.
# Optional. Default is 'artifact'
name: inspircd.${{matrix.version}}-${{steps.commit.outputs.short}}.${{matrix.os}}.tar.gz

# A file, directory or wildcard pattern that describes what to upload
# Required.
path: run/

# The desired behavior if no files are found using the provided path.
# Available Options:
# warn: Output a warning but do not fail the action
# error: Fail the action with an error message
# ignore: Do not output any warnings or errors, the action does not fail
# Optional. Default is 'warn'
if-no-files-found: error

0 comments on commit 2af6f08

Please sign in to comment.