diff --git a/clients/java/.github/workflows/release.yml b/clients/java/.github/workflows/release.yml index 99f066da..54d99246 100644 --- a/clients/java/.github/workflows/release.yml +++ b/clients/java/.github/workflows/release.yml @@ -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 # pin@v1.13.0 + with: + tag: ${{github.event.release.tag_name}} + - name: Set up JDK uses: actions/setup-java@v2 with: java-version: '8' diff --git a/clients/php/.github/workflows/release.yml b/clients/php/.github/workflows/release.yml new file mode 100644 index 00000000..1beb75ca --- /dev/null +++ b/clients/php/.github/workflows/release.yml @@ -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 # pin@v1.13.0 + with: + tag: ${{github.event.release.tag_name}} diff --git a/clients/typescript/.github/workflows/release.yml b/clients/typescript/.github/workflows/release.yml index 68358988..1895cd28 100644 --- a/clients/typescript/.github/workflows/release.yml +++ b/clients/typescript/.github/workflows/release.yml @@ -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 # pin@v1.13.0 + 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