Skip to content

Commit

Permalink
Add multiplatform support
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamun committed Apr 20, 2023
1 parent a7a3a50 commit 9ab5e0c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
40 changes: 36 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
test:
name: build test and release
test-app:
name: test app
runs-on: ubuntu-20.04
container:
image: ghcr.io/metaheed/kolle-ci:v0.0.2
Expand Down Expand Up @@ -77,6 +77,35 @@ jobs:
npm i --force
npx shadow-cljs release prod
release-app:
name: Build docker and release package
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11' ]
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Maven cache
id: maven-cache
uses: actions/cache@v2
with:
path: /root/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/deps.edn') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}

- name: Setup Clojure
uses: DeLaGuardo/setup-clojure@master
with:
tools-deps: '1.10.3.1029'

- name: Build clj artifact
working-directory: kolle
run: |
Expand Down Expand Up @@ -110,5 +139,8 @@ jobs:
release_name: Release ${{ steps.get_version.outputs.VERSION }}
body: |
[Changelog](https://github.com/metaheed/kolle.io)
draft: false
prerelease: false
draft: false
prerelease: false
4 changes: 2 additions & 2 deletions build/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
#git checkout -b dev
#git push --set-upstream origin dev

release_version="v0.0.036"
release_version="v0.0.037"

#release_version="v$(date +'%Y.%m.%d.%H%M%S')"

echo "##############check out development ######################"

git checkout development
git commit -m "Release new version 0.0.036" -a
git commit -m "Release new version 0.0.037" -a
git merge main
git push

Expand Down

0 comments on commit 9ab5e0c

Please sign in to comment.