NotNullでnull許容しない変数を明示+個人用ストレージの作成を簡単に #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "renovate.json" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK 16 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '16' | |
distribution: 'corretto' | |
server-id: azisaba | |
- name: Build with Maven | |
run: mvn -B package --file pom.xml | |
- name: Prepare settings.xml | |
run: | | |
echo "<settings><servers><server><id>azisaba</id><username>${{ secrets.REPO_USERNAME }}</username><password>${{ secrets.REPO_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml | |
- name: Deploy | |
run: mvn deploy |