Skip to content

Commit 72c13df

Browse files
committed
Upload to tag on build success
1 parent f0680e1 commit 72c13df

File tree

3 files changed

+30
-12
lines changed

3 files changed

+30
-12
lines changed

.github/workflows/linux.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,14 @@ jobs:
2626
cd /work/repo
2727
./configure --with-lisp=sbcl --enable-distribution
2828
make
29-
- name: save artifact
30-
uses: actions/upload-artifact@v4
29+
#- name: save artifact
30+
# uses: actions/upload-artifact@v4
31+
# with:
32+
# name: cafeobj-sbcl-x86_64-linux
33+
# path: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
34+
- name: Release
35+
uses: AButler/[email protected]
3136
with:
32-
name: cafeobj-sbcl-x86_64-linux
33-
path: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
37+
files: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
38+
repo-token: ${{ secrets.GITHUB_TOKEN }}
39+

.github/workflows/mac.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,14 @@ jobs:
2424
run: |
2525
./configure --with-lisp=sbcl --enable-distribution
2626
make
27-
- name: save binary
28-
uses: actions/upload-artifact@v4
27+
#- name: save binary
28+
# uses: actions/upload-artifact@v4
29+
# with:
30+
# name: cafeobj-sbcl-${{ matrix.arch }}-darwin
31+
# path: cafeobj-*-sbcl-*Darwin.tar.gz
32+
- name: Release
33+
uses: AButler/[email protected]
2934
with:
30-
name: cafeobj-sbcl-${{ matrix.arch }}-darwin
31-
path: cafeobj-*-sbcl-*Darwin.tar.gz
35+
files: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Darwin.tar.gz
36+
repo-token: ${{ secrets.GITHUB_TOKEN }}
37+

.github/workflows/windows.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,15 @@ jobs:
3030
- name: build
3131
shell: pwsh
3232
run: make
33-
- name: save binary
34-
uses: actions/upload-artifact@v4
33+
#- name: save binary
34+
# uses: actions/upload-artifact@v4
35+
# with:
36+
# name: cafeobj-sbcl-win64
37+
# path: cafeobj-*-sbcl-win64.zip
38+
- name: Release
39+
uses: AButler/[email protected]
3540
with:
36-
name: cafeobj-sbcl-win64
37-
path: cafeobj-*-sbcl-win64.zip
41+
files: cafeobj-*-sbcl-win64.zip
42+
repo-token: ${{ secrets.GITHUB_TOKEN }}
43+
3844

0 commit comments

Comments
 (0)