Skip to content
This repository has been archived by the owner on Oct 7, 2022. It is now read-only.

Commit

Permalink
ci: add release steps for all workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
upsetbit committed May 18, 2022
1 parent ec91c03 commit a15180e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@ jobs:
- name: Create package
run: |
cd "${{ matrix.sample }}/go"
make package
make package tag=${{ github.ref_name }}
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: ${{ matrix.sample }}/go/${{ matrix.sample }}-go-sample-${{ github.ref_name }}.zip
8 changes: 7 additions & 1 deletion .github/workflows/release-kotlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@ jobs:
- name: Create package
run: |
cd "${{ matrix.sample }}/kotlin"
make package
make package tag=${{ github.ref_name }}
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: ${{ matrix.sample }}/kotlin/${{ matrix.sample }}-kotlin-sample-${{ github.ref_name }}.zip
8 changes: 7 additions & 1 deletion .github/workflows/release-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@ jobs:
- name: Create package
run: |
cd "${{ matrix.sample }}/node"
make package
make package tag=${{ github.ref_name }}
- name: Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: ${{ matrix.sample }}/node/${{ matrix.sample }}-node-sample-${{ github.ref_name }}.zip

0 comments on commit a15180e

Please sign in to comment.