Skip to content

Commit

Permalink
Make artifact names more predictable
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Jan 27, 2024
1 parent 2af6f08 commit 0fa28d1
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- "ubuntu-20.04"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: sudo apt update -y -qq
- run: |
sudo apt install -y -qq --no-install-recommends \
Expand All @@ -31,24 +31,11 @@ jobs:
libpcre3-dev \
libwww-perl \
libgnutls28-dev
- run: bash install.sh ${{ matrix.version }}
- run: bash install.sh ${{matrix.version}}
- id: commit
uses: prompt/actions-commit-hash@v3
- run: tar cvzf inspircd.${{matrix.version}}-${{steps.commit.outputs.short}}.${{matrix.os}}.tar.gz run/
- uses: actions/upload-artifact@v4
with:
# 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'
path: inspircd*.tar.gz
if-no-files-found: error

0 comments on commit 0fa28d1

Please sign in to comment.