Skip to content

Commit

Permalink
Add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanson authored Aug 21, 2023
1 parent 55816f3 commit c1e284a
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: develop

on: [push]
on:
push

jobs:
build:
develop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release

on:
release:
types: [created]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Make
run: ./cmd/release.sh
- name: Push
uses: softprops/action-gh-release@v1
with:
files: |
bin/release/daze_android_arm64.zip
bin/release/daze_linux_amd64.zip
bin/release/daze_windows_amd64.zip

0 comments on commit c1e284a

Please sign in to comment.