Skip to content

Commit 87eeb6e

Browse files
itsmesamsterDmitryAstafyev
authored andcommitted
Include chipmunk release for Ubuntu 20.04
1 parent 831019a commit 87eeb6e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/release.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,35 @@ jobs:
127127
release-tag: ${{ github.ref_name }}
128128
env:
129129
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130+
131+
build_release_ubuntu20:
132+
name: Build release for Ubuntu 20.04
133+
needs: create_release
134+
runs-on: ubuntu-latest
135+
steps:
136+
- name: Checkout
137+
uses: actions/checkout@v3
138+
- name: build docker image
139+
run: |
140+
chmod +x ./docker/ubuntu-20.04/build.sh
141+
./docker/ubuntu-20.04/build.sh
142+
- name: build chipmunk release
143+
run: |
144+
chmod +x ./docker/ubuntu-20.04/run.sh
145+
./docker/ubuntu-20.04/run.sh
146+
- name: list release files
147+
working-directory: ./application/holder/release
148+
run: ls
149+
- name: upload files
150+
if: startsWith(github.ref, 'refs/tags/')
151+
uses: AButler/upload-release-assets@v2.0
152+
with:
153+
files: "./application/holder/release/*.tgz;./application/holder/release/*.zip"
154+
repo-token: ${{ secrets.GITHUB_TOKEN }}
155+
release-tag: ${{ github.ref_name }}
156+
env:
157+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
158+
130159
invoke_package_distribution:
131160
name: Invoke chipmunk package creation and distribution for different package managers
132161
needs: build_release

0 commit comments

Comments
 (0)