Skip to content

Commit

Permalink
build: SAVE ARTIFACT output location fix (#55)
Browse files Browse the repository at this point in the history
The destination directory's path if it end with '/' copys to different locations
if the destination exists or not locally, similar to 'cp'.

Setting the destination as './' keeps the behaviour consistent if the
destination exists or not locally and lets us not repeat the name.
  • Loading branch information
DeveloperC286 authored Apr 24, 2024
1 parent 76c8e18 commit 624daf8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ check-formatting:
fix-shell-formatting:
FROM +shell-formatting-base
RUN ./ci/fix-shell-formatting.sh
SAVE ARTIFACT "ci/" AS LOCAL "ci/"
SAVE ARTIFACT "src/" AS LOCAL "src/"
SAVE ARTIFACT "zsh-simple-abbreviations.zsh" AS LOCAL "zsh-simple-abbreviations.zsh"
SAVE ARTIFACT "ci/" AS LOCAL "./"
SAVE ARTIFACT "src/" AS LOCAL "./"
SAVE ARTIFACT "zsh-simple-abbreviations.zsh" AS LOCAL "./"


fix-yaml-formatting:
FROM +yaml-formatting-base
RUN ./ci/fix-yaml-formatting.sh
SAVE ARTIFACT ".github/" AS LOCAL ".github/"
SAVE ARTIFACT ".github/" AS LOCAL "./"


fix-formatting:
Expand Down

0 comments on commit 624daf8

Please sign in to comment.