Skip to content

Commit 873aafc

Browse files
committed
sdkman details
1 parent 502381e commit 873aafc

2 files changed

Lines changed: 39 additions & 2 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v1
1515
- name: Deploy with github-pages
16-
uses: JamesIves/github-pages-deploy-action@master
16+
uses: JamesIves/github-pages-deploy-action@4.1.1
1717
env:
1818
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN_REPO }}
1919
BASE_BRANCH: gatsby # The branch the action should deploy from.

‎content/blog/2021-04-18-emeraldjava-api.md‎

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,41 @@ published: true
55
date: '2021-04-18'
66
---
77

8-
My setup for a java 11 spring-boot API service deployed on heroku.
8+
My setup for a java 11 spring-boot API service deployed on heroku.
9+
10+
# Gatsby
11+
12+
I'd to update this repo first since the deploy action failed with this error
13+
14+
Failed to resolve action download info. Error: Unable to resolve action `JamesIves/github-pages-deploy-action@master`, unable to find version `master`
15+
Retrying in 20.243 seconds
16+
Error: Unable to resolve action `JamesIves/github-pages-deploy-action@master`, unable to find version `master`
17+
18+
19+
# sdkman
20+
21+
First install sdkman for managing java installs
22+
23+
curl -s "https://get.sdkman.io" | bash
24+
source "$HOME/.sdkman/bin/sdkman-init.sh"
25+
26+
see https://sdkman.io/install
27+
28+
then install java 11
29+
30+
sdk install java 11.0.10-zulu
31+
32+
then install maven
33+
34+
sdk install maven 3.8.1
35+
36+
setup springboot cli
37+
38+
sdk install springboot
39+
40+
We have a dev env now!.
41+
# emeraldjava-api
42+
43+
Use the springboot cli to create the app template
44+
45+
spring init --dependencies=web emeraldjava-api

0 commit comments

Comments
 (0)