diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml new file mode 100644 index 0000000..954e6c8 --- /dev/null +++ b/.github/workflows/maven-publish.yml @@ -0,0 +1,34 @@ +# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created +# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path + +name: Maven Package + +on: + release: + types: [created] + +jobs: + build: + + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + + steps: + - uses: actions/checkout@v4 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + server-id: github # Value of the distributionManagement/repository/id field of the pom.xml + settings-path: ${{ github.workspace }} # location for the settings.xml file + + - name: Build with Maven + run: mvn -B package --file pom.xml + + - name: Publish to GitHub Packages Apache Maven + run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml + env: + GITHUB_TOKEN: ${{ github.token }} diff --git a/README.md b/README.md index 79a353d..89c563b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -# SpringBootDemo +# SpringBootDemo +# Hello world!!! Spring Boot干货系列,分享学习中整理的一些笔记和源码 # 博文对应源码 - [Spring boot干货系列:(一)优雅的入门篇](http://tengj.top/2017/02/26/springboot1/):chapter1 diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..27a798a --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- script: echo Hello, world! + displayName: 'Run a one-line script' + +- script: | + echo Add other tasks to build, test, and deploy your project. + echo See https://aka.ms/yaml + displayName: 'Run a multi-line script' diff --git "a/\345\256\242\346\210\267\345\216\237\345\247\213\351\241\271\347\233\256\351\234\200\346\261\202\344\271\2460303-\351\203\250\347\275\262-2.1.7\347\253\240\350\212\202.docx" "b/\345\256\242\346\210\267\345\216\237\345\247\213\351\241\271\347\233\256\351\234\200\346\261\202\344\271\2460303-\351\203\250\347\275\262-2.1.7\347\253\240\350\212\202.docx" new file mode 100644 index 0000000..4c51182 Binary files /dev/null and "b/\345\256\242\346\210\267\345\216\237\345\247\213\351\241\271\347\233\256\351\234\200\346\261\202\344\271\2460303-\351\203\250\347\275\262-2.1.7\347\253\240\350\212\202.docx" differ