diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 960ec0ee..d62591e3 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -1,6 +1,6 @@ on: [push] jobs: - Test: + Tests: runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..e376a8f2 --- /dev/null +++ b/.github/workflows/release.yml @@ -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