Skip to content

Commit 09ccfc5

Browse files
build: improved continuous delivery target naming (#77)
1 parent 0e0b953 commit 09ccfc5

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/continuous-delivery.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313
FORCE_COLOR: 1
1414

1515
jobs:
16-
release-artifacts:
17-
name: Release artifacts.
16+
publish-binary:
17+
name: Publish Binary
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Download Earthly.
@@ -23,12 +23,12 @@ jobs:
2323
version: v0.8.15
2424
- name: Checkout code.
2525
uses: actions/checkout@v4
26-
- name: Release artifacts.
27-
run: earthly --ci --secret GH_TOKEN +release-artifacts --release "${GITHUB_REF_NAME}"
26+
- name: Publish binary.
27+
run: earthly --ci --secret GH_TOKEN +publish-binary --release "${GITHUB_REF_NAME}"
2828
env:
2929
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by GitHub Actions.
30-
publish:
31-
name: Publish.
30+
publish-crate:
31+
name: Publish Crate
3232
runs-on: ubuntu-latest
3333
steps:
3434
- name: Download Earthly.
@@ -37,7 +37,7 @@ jobs:
3737
version: v0.8.15
3838
- name: Checkout code.
3939
uses: actions/checkout@v4
40-
- name: Publish.
41-
run: earthly --ci --secret CARGO_REGISTRY_TOKEN +publish
40+
- name: Publish crate.
41+
run: earthly --ci --secret CARGO_REGISTRY_TOKEN +publish-crate
4242
env:
4343
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}

Earthfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,18 +206,18 @@ end-to-end-test:
206206
RUN ./ci/end-to-end-test.sh
207207

208208

209-
release-artifacts:
209+
publish-binary:
210210
FROM +rust-base
211211
# renovate: datasource=repology depName=alpine_3_20/github-cli versioning=loose
212212
ENV GITHUB_CLI_VERSION="2.47.0-r4"
213213
RUN apk add --no-cache github-cli=$GITHUB_CLI_VERSION
214214
DO +COPY_METADATA
215215
DO +COPY_SOURCECODE
216216
ARG release
217-
RUN --secret GH_TOKEN ./ci/release-artifacts.sh --release "${release}"
217+
RUN --secret GH_TOKEN ./ci/publish-binary.sh --release "${release}"
218218

219219

220-
publish:
220+
publish-crate:
221221
FROM +sourcecode-base
222222
COPY "README.md" "./"
223-
RUN --secret CARGO_REGISTRY_TOKEN ./ci/publish.sh
223+
RUN --secret CARGO_REGISTRY_TOKEN ./ci/publish-crate.sh
File renamed without changes.

0 commit comments

Comments
 (0)