Skip to content

Commit f63aee3

Browse files
committed
ci: enable earthly local outputs for artifact upload
1 parent 2d45978 commit f63aee3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
4646
- name: Build (Linux via Earthly, Ubuntu 20.04)
4747
if: runner.os == 'Linux'
48-
run: earthly --ci +linux-build --UBUNTU_VERSION=20.04
48+
run: earthly --ci --output +linux-build --UBUNTU_VERSION=20.04
4949

5050
- name: Configure (Windows)
5151
if: runner.os == 'Windows'
@@ -82,7 +82,7 @@ jobs:
8282

8383
- name: Package (Linux release only, Earthly)
8484
if: github.event_name == 'release' && runner.os == 'Linux'
85-
run: earthly --ci +linux-package --UBUNTU_VERSION=20.04
85+
run: earthly --ci --output +linux-package --UBUNTU_VERSION=20.04
8686

8787
- name: Package (Windows release only)
8888
if: github.event_name == 'release' && runner.os == 'Windows'

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build_linux:
3434
when: never
3535
- when: on_success
3636
script:
37-
- earthly --ci +linux-build --UBUNTU_VERSION=20.04
37+
- earthly --ci --output +linux-build --UBUNTU_VERSION=20.04
3838
artifacts:
3939
when: always
4040
paths:
@@ -121,7 +121,7 @@ package_linux:
121121
- if: '$CI_COMMIT_TAG'
122122
- when: never
123123
script:
124-
- earthly --ci +linux-package --UBUNTU_VERSION=20.04
124+
- earthly --ci --output +linux-package --UBUNTU_VERSION=20.04
125125
artifacts:
126126
paths:
127127
- dist/mysql-linux.tar.gz

0 commit comments

Comments
 (0)