Move core actions to a subpackage

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-26 14:09:21 -01:00
parent 9f042800da
commit b3bdd347e7
121 changed files with 469 additions and 340 deletions

View File

@@ -5,6 +5,7 @@ import (
"strings"
"dagger.io/dagger"
"dagger.io/dagger/core"
"universe.dagger.io/alpine"
"universe.dagger.io/bash"
@@ -78,7 +79,7 @@ import (
mounts: "yarn cache": {
dest: "/cache/yarn"
contents: dagger.#CacheDir & {
contents: core.#CacheDir & {
// FIXME: are there character limitations in cache ID?
id: "universe.dagger.io/yarn.#Run \(name)"
}
@@ -109,7 +110,7 @@ import (
mounts: "yarn cache": {
dest: "/cache/yarn"
contents: dagger.#CacheDir & {
contents: core.#CacheDir & {
// FIXME: are there character limitations in cache ID?
id: "universe.dagger.io/yarn.#Run \(name)"
}
@@ -135,7 +136,7 @@ import (
}
// The final contents of the package after run
_output: dagger.#Subdir & {
_output: core.#Subdir & {
input: _run.output.rootfs
path: "/build"
}