Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
kind: pipeline
type: docker
name: default

steps:
- name: build
image: golang:1.19
commands:
- CGO_ENABLED=0 go build -ldflags "-extldflags \"-static\"" -o release/linux/amd64/plugin
- name: release amd64 binary
image: plugins/github-release
settings:
files:
- release/linux/amd64/plugin
api_key:
from_secret: github_token
when:
ref:
- refs/tags/*
depends_on:
- build
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ steps:
type: action
spec:
uses: actions/hello-world-javascript-action@v1.1
settings:
with:
who-to-greet: Mona the Octocat
env:
hello: world
Expand All @@ -58,5 +58,5 @@ Run on windows
```powershell
$env:PLUGIN_WITH = '{ "distribution": "temurin", "java-version": "17" }'
$env:DRONE_ENV = 'C:\Users\Administrator\drone.env'
plugin run main.go -kind action -name actions/setup-java@v3
plugin -kind action -name actions/setup-java@v3
```