Skip to content

Commit eddcaf5

Browse files
committed
Actions (Linux): Upload "make dist" results as artifacts
1 parent 440aecf commit eddcaf5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/linux.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,20 @@ jobs:
152152
run: |-
153153
make -C build_plugins install DESTDIR="${PWD}"/ROOT_PLUGINS
154154
find ROOT_PLUGINS/ | sort
155+
156+
- name: 'Prepare artifacts for upload'
157+
if: "${{ strategy.job-index == 0 }}"
158+
run: |-
159+
set -x
160+
dirname="commit-$(git log -1 --format='%H')"
161+
mkdir "${dirname}"/
162+
mv -v libvisual/libvisual-0.*.tar.* "${dirname}"/
163+
mv -v libvisual-plugins/libvisual-plugins-0.*.tar.* "${dirname}"/
164+
165+
- name: 'Upload artifacts'
166+
uses: actions/[email protected]
167+
if: "${{ strategy.job-index == 0 }}"
168+
with:
169+
name: release-archives
170+
path: commit-*/*
171+
if-no-files-found: error

0 commit comments

Comments
 (0)