Skip to content

Commit

Permalink
Upload to tag on build success
Browse files Browse the repository at this point in the history
  • Loading branch information
norbusan committed Sep 17, 2024
1 parent f0680e1 commit 72c13df
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 12 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,14 @@ jobs:
cd /work/repo
./configure --with-lisp=sbcl --enable-distribution
make
- name: save artifact
uses: actions/upload-artifact@v4
#- name: save artifact
# uses: actions/upload-artifact@v4
# with:
# name: cafeobj-sbcl-x86_64-linux
# path: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
- name: Release
uses: AButler/[email protected]
with:
name: cafeobj-sbcl-x86_64-linux
path: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
files: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Linux.tar.gz
repo-token: ${{ secrets.GITHUB_TOKEN }}

14 changes: 10 additions & 4 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ jobs:
run: |
./configure --with-lisp=sbcl --enable-distribution
make
- name: save binary
uses: actions/upload-artifact@v4
#- name: save binary
# uses: actions/upload-artifact@v4
# with:
# name: cafeobj-sbcl-${{ matrix.arch }}-darwin
# path: cafeobj-*-sbcl-*Darwin.tar.gz
- name: Release
uses: AButler/[email protected]
with:
name: cafeobj-sbcl-${{ matrix.arch }}-darwin
path: cafeobj-*-sbcl-*Darwin.tar.gz
files: ${{ github.workspace }}/repo/cafeobj-*-sbcl-*Darwin.tar.gz
repo-token: ${{ secrets.GITHUB_TOKEN }}

14 changes: 10 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,15 @@ jobs:
- name: build
shell: pwsh
run: make
- name: save binary
uses: actions/upload-artifact@v4
#- name: save binary
# uses: actions/upload-artifact@v4
# with:
# name: cafeobj-sbcl-win64
# path: cafeobj-*-sbcl-win64.zip
- name: Release
uses: AButler/[email protected]
with:
name: cafeobj-sbcl-win64
path: cafeobj-*-sbcl-win64.zip
files: cafeobj-*-sbcl-win64.zip
repo-token: ${{ secrets.GITHUB_TOKEN }}


0 comments on commit 72c13df

Please sign in to comment.