Move core actions to a subpackage
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
@@ -2,10 +2,11 @@ package main
|
||||
|
||||
import (
|
||||
"dagger.io/dagger"
|
||||
"dagger.io/dagger/core"
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
actions: fetch: dagger.#HTTPFetch & {
|
||||
actions: fetch: core.#HTTPFetch & {
|
||||
source: "https://releases.dagger.io/dagger/latest_version"
|
||||
dest: "/latest.html"
|
||||
}
|
||||
|
@@ -2,10 +2,11 @@ package main
|
||||
|
||||
import (
|
||||
"dagger.io/dagger"
|
||||
"dagger.io/dagger/core"
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
actions: fetch: dagger.#HTTPFetch & {
|
||||
actions: fetch: core.#HTTPFetch & {
|
||||
source: "https://releases.dagger.io/dagger/asfgdsfg"
|
||||
dest: "/latest.html"
|
||||
}
|
||||
|
Reference in New Issue
Block a user