Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
github: upload assets to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
blaisewang committed May 8, 2021
1 parent 0f91716 commit daae548
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build MacOS

on: [push]
on: push

jobs:
macos:
Expand Down Expand Up @@ -59,3 +59,11 @@ jobs:
with:
name: packages
path: dmg
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, 'gm')
with:
files:
dmg/*.dmg
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 9 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build Ubuntu

on: [push]
on: push

jobs:
ubuntu:
Expand Down Expand Up @@ -44,3 +44,11 @@ jobs:
with:
name: packages
path: deb
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, 'gm')
with:
files:
deb/*.deb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 9 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build Windows

on: [push]
on: push

jobs:
windows:
Expand Down Expand Up @@ -69,3 +69,11 @@ jobs:
with:
name: packages
path: exe
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && endsWith(github.ref, 'gm')
with:
files:
exe/*.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit daae548

Please sign in to comment.