Skip to content

Commit

Permalink
项目框架
Browse files Browse the repository at this point in the history
  • Loading branch information
dbstarll committed May 15, 2023
1 parent 2224297 commit 1c0ba3f
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 24 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Maven Verify and Deploy CI

on:
push:
branches:
paths-ignore:
- '.github/workflows/release.yml'
- 'README.md'

jobs:
maven:
permissions:
packages: write
uses: dbstar-org/general/.github/workflows/maven.yml@v1
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Maven Release CI

on: workflow_dispatch

jobs:
release:
permissions:
contents: write
packages: write
uses: dbstar-org/general/.github/workflows/maven-release.yml@v1
secrets: inherit
29 changes: 5 additions & 24 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*
replay_pid*
*.iml
target/
/.idea/
pom.xml.*
/release.properties
39 changes: 39 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.github.dbstarll.parent</groupId>
<artifactId>base</artifactId>
<version>1.3.0</version>
</parent>
<groupId>io.github.dbstarll</groupId>
<artifactId>weixin-sdk</artifactId>
<version>1.0.0-SNAPSHOT</version>

<name>weixin-sdk</name>
<description>WeiXin SDK</description>
<url>https://github.com/dbstar-org/weixin-sdk</url>

<scm>
<connection>scm:git:${project.git.git.root}</connection>
<developerConnection>scm:git:${project.git.web.root}</developerConnection>
<url>${project.git.web.master}</url>
<tag>HEAD</tag>
</scm>

<properties>
<project.git.project>weixin-sdk</project.git.project>
</properties>

<profiles>
<profile>
<id>site-local</id>
<distributionManagement>
<site>
<id>local</id>
<url>${project.site.root.project}</url>
</site>
</distributionManagement>
</profile>
</profiles>
</project>

0 comments on commit 1c0ba3f

Please sign in to comment.