-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
31 additions
and
1,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
workflow "Build" { | ||
on = "release" | ||
resolves = ["Upload .lua", "Upload .min.lua"] | ||
} | ||
|
||
action "Build distributable" { | ||
uses = "./builder" | ||
} | ||
|
||
action "Upload .lua" { | ||
uses = "JasonEtco/upload-to-release@master" | ||
args = "dist/medialib.lua" | ||
secrets = ["GITHUB_TOKEN"] | ||
needs = ["Build distributable"] | ||
} | ||
action "Upload .min.lua" { | ||
uses = "JasonEtco/upload-to-release@master" | ||
args = "dist/medialib.min.lua" | ||
secrets = ["GITHUB_TOKEN"] | ||
needs = ["Build distributable"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM node:alpine | ||
|
||
RUN apk add --no-cache git | ||
|
||
RUN mkdir /builder | ||
COPY build.js /builder | ||
COPY package.json /builder | ||
RUN cd /builder && npm install | ||
|
||
CMD [ "sh", "-c", "node /builder/build.js --no-git build"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.