Build the thing with another action
This commit is contained in:
parent
16760d88e1
commit
e7c8db3777
4
.github/main.workflow
vendored
4
.github/main.workflow
vendored
@ -4,6 +4,6 @@ workflow "Main" {
|
||||
}
|
||||
|
||||
action "vuefun Build" {
|
||||
uses = "./vuefun/.actions/build"
|
||||
args = "wat"
|
||||
uses = "cedrickring/golang-action/g,1.11@1.1.1"
|
||||
args = "make -C vuefun"
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
FROM golang:1.11-slim
|
||||
|
||||
LABEL "com.github.actions.name"="vuefun Build"
|
||||
LABEL "com.github.actions.description"="Build the vuefun thing"
|
||||
LABEL "com.github.actions.color"="gray"
|
||||
|
||||
LABEL "repository"="https://github.com/meatballhat/box-o-sand"
|
||||
LABEL "homepage"="https://github.com/meatballhat/box-o-sand"
|
||||
LABEL "maintainer"="Dan Buch <dan+github-box-o-sand@meatballhat.com>"
|
||||
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
@ -1,4 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
echo "Well Hello There"
|
||||
echo "You said: ${*}"
|
17
vuefun/Makefile
Normal file
17
vuefun/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
BUILD_NAME := $(shell go env GOOS)_$(shell go env GOARCH)
|
||||
TARGETS := build/$(BUILD_NAME)/vuefun-app
|
||||
|
||||
|
||||
.PHONY: all
|
||||
all: $(TARGETS)
|
||||
|
||||
.PHONY: wat
|
||||
wat:
|
||||
@echo TARGETS="$(TARGETS)"
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf build
|
||||
|
||||
build/$(BUILD_NAME)/vuefun-app: $(wildcard *.go)
|
||||
go build -o $@ $<
|
BIN
vuefun/build/linux_amd64/vuefun-app
Executable file
BIN
vuefun/build/linux_amd64/vuefun-app
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user