Skip to content

Commit

Permalink
feat: Automatically add clients to release assets
Browse files Browse the repository at this point in the history
  • Loading branch information
zankia authored and remyla committed Mar 27, 2024
1 parent aaf5f0a commit a90d975
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on: [push]
jobs:
Test:
Tests:
runs-on: ubuntu-latest
defaults:
run:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
release:
types: [published]
jobs:
assets:
name: Push clients as assets
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
VER: ${{ github.event.release.tag_name }}
steps:
- uses: actions/checkout@v4
- run: gh release upload --clobber $VER js/damas.js#damas-$VER.js js/damas-socket.js#damas-socket-$VER.js
cli/damas#damas-$VER.sh py/damas_client.py#damas_$VER.py py/damas_socket.py#damas_socket_$VER.py

0 comments on commit a90d975

Please sign in to comment.