Skip to content

Commit

Permalink
Set artifact name properly
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdaemon committed Jan 27, 2024
1 parent e1c2e72 commit ddfec4c
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ jobs:
- "ubuntu-20.04"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- run: sudo apt update -y -qq
- run: |
- name: Checkout
uses: actions/checkout@v4
- name: Update apt index
run: sudo apt update -y -qq
- name: Install dependency packages
run: |
sudo apt install -y -qq --no-install-recommends \
build-essential \
bison \
Expand All @@ -31,11 +34,15 @@ jobs:
libpcre3-dev \
libwww-perl \
libgnutls28-dev
- run: bash install.sh ${{matrix.version}}
- name: Build Inspircd ${{matrix.version}}
run: bash install.sh ${{matrix.version}}
- id: commit
uses: prompt/actions-commit-hash@v3
- run: tar cvzf inspircd.${{matrix.version}}.${{matrix.os}}.tar.gz run/
- uses: actions/upload-artifact@v4
- name: Archive build artifacts
run: tar cvzf inspircd.${{matrix.version}}.${{matrix.os}}.tar.gz run/
- name: Upload archives
uses: actions/upload-artifact@v4
with:
path: inspircd.${{matrix.version}}.${{matrix.os}}.tar.gz
name: inspircd.${{matrix.version}}.${{matrix.os}}.tar.gz
path: inspircd*.tar.gz
if-no-files-found: error

0 comments on commit ddfec4c

Please sign in to comment.