-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(artifacts): Add support for trigger artifacts (#430)
feat(artifacts): Add support for trigger artifacts * fix: Fix yarn lockfile * fix: Try quoting $GITHUB_OUTPUT in diff step * fix: Switch to changed-files action * fix: Forgot to update the condition in the next step * fix: Fixing changed-files expression * fix: trying different tact for detecting changes * chore: Build Source --------- Co-authored-by: github-actions <[email protected]>
- Loading branch information
Showing
9 changed files
with
18,227 additions
and
10,374 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,9 +23,11 @@ jobs: | |
yarn all | ||
- name: Check for diff | ||
id: diff | ||
run: echo "GIT_STATUS=$(git status -s dist/)" >> $GITHUB_OUTPUT | ||
run: | | ||
git status -s dist/ | grep "dist/" | ||
echo "GIT_STATUS=$?" >> "$GITHUB_OUTPUT" | ||
- name: Push build | ||
if: ${{ steps.diff.outputs.GIT_STATUS != '' }} | ||
if: ${{ steps.diff.outputs.GIT_STATUS == '0' }} | ||
run: | | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.