Compare commits

..

No commits in common. "master" and "0.0.1" have entirely different histories.

2 changed files with 11 additions and 37 deletions

View File

@ -1,27 +1,30 @@
kind: pipeline
name: maven-build-pipeline
name: pipeline-example-maven
steps:
- name: BuildProject
- name: Build Project
image: maven:3-jdk-11
volumes:
- name: cache
path: /root/.m2
commands:
- mvn clean install
- ls target
- mvn clean package
- name: SendToDingTalk
image: lddsb/drone-dingtalk-message
- name: Send To DingTalk
image: guoxudongdocker/drone-dingtalk
settings:
token: af1973914f3b2af28fe7fb96c424a557059d4d3af5cba33b31d6640e8538ba45
type: markdown
message_color: true
message_pic: true
sha_link: true
when:
status:
- failure
- success
trigger:
branch:
- master
event:
- tag

View File

@ -1,29 +0,0 @@
name: TestActions
on:
tag:
- '*'
push:
branches:
- '*'
- '!main'
jobs:
Test:
name: Test
runs-on: ubuntu-latest
steps:
- run: echo "${{ toJson(github) }}"
- run: echo "${{ toJson(runner) }}"
- run: echo "${{ toJson(gitea) }}"
- run: echo "${{ toJson(job) }}"
- name: "Echo ENV"
run: echo "${{ toJson(env) }}"
env:
TEST: wuhu
NUM: 123
BOOL: true
- name: "Test ENV"
run: echo "$TEST"
env:
TEST: wuhu