Skip to content

Commit

Permalink
Automatically create github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
theSoenke committed Dec 14, 2023
1 parent 146271e commit 53f3204
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 12 deletions.
10 changes: 6 additions & 4 deletions clients/java/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
-
name: Checkout
- name: Checkout
uses: actions/checkout@v4
-
name: Set up JDK
- name: Create GitHub Release
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # [email protected]
with:
tag: ${{github.event.release.tag_name}}
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: '8'
Expand Down
13 changes: 13 additions & 0 deletions clients/php/.github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create GitHub Release
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # [email protected]
with:
tag: ${{github.event.release.tag_name}}
20 changes: 12 additions & 8 deletions clients/typescript/.github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# https://help.github.com/en/actions/language-and-framework-guides/publishing-nodejs-packages
name: Package
name: Release
on:
release:
types: [created]
push:
tags:
- '*'
jobs:
build:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- name: Create GitHub Release
uses: ncipollo/release-action@6c75be85e571768fa31b40abf38de58ba0397db5 # [email protected]
with:
tag: ${{github.event.release.tag_name}}
- uses: actions/setup-node@v4
with:
node-version: '12.x'
node-version: '18'
registry-url: 'https://registry.npmjs.org/'
- run: npm install
- run: npm publish --access public
Expand Down

0 comments on commit 53f3204

Please sign in to comment.