mirror of
https://github.com/pine64/blisp.git
synced 2024-12-22 14:30:28 +00:00
Upload with specific names
This commit is contained in:
parent
729609f2c0
commit
f6f2013c8e
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
|||||||
|
|
||||||
# Pass some environment variables to the container
|
# Pass some environment variables to the container
|
||||||
env: | # YAML, but pipe character is necessary
|
env: | # YAML, but pipe character is necessary
|
||||||
artifact_name: blisp-${{ matrix.distro }}_${{ matrix.arch }}
|
artifact_name: blisp-linux-${{ matrix.arch }}
|
||||||
|
|
||||||
# The shell to run commands with in the container
|
# The shell to run commands with in the container
|
||||||
shell: /bin/sh
|
shell: /bin/sh
|
||||||
@ -128,20 +128,14 @@ jobs:
|
|||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake .. -DBLISP_BUILD_CLI=ON -DCMAKE_BUILD_TYPE=Release
|
cmake .. -DBLISP_BUILD_CLI=ON -DCMAKE_BUILD_TYPE=Release
|
||||||
cmake --build .
|
cmake --build . -j2
|
||||||
ls -lah build/tools/blisp/
|
cp ./tools/blisp/blisp "/artifacts/${artifact_name}"
|
||||||
cp build/tools/blisp/blisp "/artifacts/${artifact_name}"
|
|
||||||
echo "Produced artifact at /artifacts/${artifact_name}"
|
echo "Produced artifact at /artifacts/${artifact_name}"
|
||||||
|
|
||||||
- name: Show the artifact
|
|
||||||
# Items placed in /artifacts in the container will be in
|
|
||||||
# ${PWD}/artifacts on the host.
|
|
||||||
run: |
|
|
||||||
ls -al "${PWD}/artifacts"
|
|
||||||
|
|
||||||
- name: Upload results
|
- name: Upload results
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
name: blisp-linux-${{ matrix.arch }}
|
||||||
path: |
|
path: |
|
||||||
build/tools/blisp/*
|
artifacts/blisp-*
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
Loading…
Reference in New Issue
Block a user