Skip to content

Commit b61f1fc

Browse files
committed
Update
1 parent eef2776 commit b61f1fc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
2323
- name: 'Upload Artifacts'
2424
uses: actions/upload-artifact@v4
2525
with:
26-
name: "boost"
27-
path: "boost_archive/"
26+
name: "boost-${{ github.event.inputs.boost_version }}-${{ matrix.os }}-${{ matrix.pic }}"
27+
path: "boost_archive/boost-${{ github.event.inputs.boost_version }}-${{ matrix.os }}-${{ matrix.pic }}.tar.bz2"
2828

2929
Release:
3030
name: Create Release
@@ -50,18 +50,21 @@ jobs:
5050
strategy:
5151
matrix:
5252
pic: [ "PIC", "noPIC" ]
53-
os: [ "debian_buster", "debian_bullseye", "debian_bookworm", "debian_trixie", "ubuntu_2004", "fedora_42", "ubuntu_2204", "ubuntu_2404" ]
53+
os: [ "debian-buster", "debian-bullseye", "debian-bookworm", "debian-trixie", "ubuntu-2004", "fedora-42", "ubuntu-2204", "ubuntu-2404" ]
5454
needs: [ Release ]
5555
runs-on: ubuntu-latest
5656
steps:
57-
- name: Download artifacts
58-
uses: actions/download-artifact@v2
57+
- name: Download artifact
58+
uses: actions/download-artifact@v4
59+
with:
60+
name: boost-${{ github.event.inputs.boost_version }}-${{ matrix.os }}-${{ matrix.pic }}
61+
path: .
5962
- name: Upload Release Asset
6063
uses: actions/upload-release-asset@v1
6164
env:
6265
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6366
with:
6467
upload_url: ${{ needs.Release.outputs.upload_url }}
65-
asset_path: ./boost/boost-${{ github.event.inputs.boost_version }}-${{ matrix.os }}-${{ matrix.pic }}.tar.bz2
68+
asset_path: ./boost-${{ github.event.inputs.boost_version }}-${{ replace(matrix.os, '-', '_') }}-${{ matrix.pic }}.tar.bz2
6669
asset_name: boost-${{ github.event.inputs.boost_version }}-${{ matrix.os }}-${{ matrix.pic }}.tar.bz2
6770
asset_content_type: application/gzip

0 commit comments

Comments
 (0)