Skip to content

Commit

Permalink
Fixes workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samueldr committed Feb 17, 2019
1 parent 23e7c0e commit a9c880d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/main.workflow
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
workflow "Build on push" {
on = "push"
resolves = ["samueldr/action-nix-build@master"]
resolves = ["Build"]
}

action "samueldr/action-nix-build@master" {
action "Build" {
uses = "samueldr/action-nix-build@master"
env = {
NIXPKGS_ALLOW_UNFREE = "1"
Expand All @@ -13,21 +13,21 @@ action "samueldr/action-nix-build@master" {
workflow "Upload on release" {
on = "release"
resolves = [
"JasonEtco/upload-to-release@v0.1.1",
"samueldr/action-nix-build@master-1",
"Build for release",
"Upload release",
]
}

action "samueldr/action-nix-build@master-1" {
action "Build for release" {
uses = "samueldr/action-nix-build@master"
env = {
NIXPKGS_ALLOW_UNFREE = "1"
}
}

action "JasonEtco/upload-to-release@v0.1.1" {
action "Upload release" {
uses = "JasonEtco/upload-to-release@v0.1.1"
needs = ["samueldr/action-nix-build@master-1"]
args = "result/ROC-RK3399-PC-firmware-combined.img.xz"
args = "result/ROC-RK3399-PC-firmware-combined.img.xz application/x-xz; charset=binary"
secrets = ["GITHUB_TOKEN"]
needs = ["Build for release"]
}

0 comments on commit a9c880d

Please sign in to comment.