Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/publish-go-nightly-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ jobs:
KEYCHAIN_PASSWORD: keychainpassword
run: |
echo "${{ secrets.INSTALLER_CERT_MAC_P12 }}" | base64 --decode >"${{ env.INSTALLER_CERT_MAC_PATH }}"

security create-keychain \
-p "${{ env.KEYCHAIN_PASSWORD }}" \
"${{ env.KEYCHAIN }}"
Expand Down Expand Up @@ -204,7 +205,7 @@ jobs:
-C ../../ \
LICENSE.txt

echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >> $GITHUB_ENV
echo "PACKAGE_FILENAME=$PACKAGE_FILENAME" >>$GITHUB_ENV

- name: Replace artifact with notarized build
uses: actions/upload-artifact@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-go-task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,8 @@ jobs:
- name: Write gon config to file
# gon does not allow env variables in config file (https://github.com/mitchellh/gon/issues/20)
run: |
cat >"${{ env.GON_CONFIG_PATH }}" <<EOF
cat >"${{ env.GON_CONFIG_PATH }}" \
<<EOF
# See: https://github.com/Bearer/gon#configuration-file
source = ["${{ env.DIST_DIR }}/${{ env.BUILD_FOLDER }}/${{ env.PROJECT_NAME }}"]
bundle_id = "cc.arduino.${{ env.PROJECT_NAME }}"
Expand Down
2 changes: 1 addition & 1 deletion .markdownlintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-markdown/.markdownlintignore
.licenses/
/.licenses/
__pycache__/
node_modules/
30 changes: 24 additions & 6 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,10 @@ tasks:
- task: general:prepare-deps
cmds:
- |
if ! which licensed &>/dev/null; then
if
! which licensed \
&>/dev/null
then
if [[ {{OS}} == "windows" ]]; then
echo "Licensed does not have Windows support."
echo "Please use Linux/macOS or download the dependencies cache from the GitHub Actions workflow artifact."
Expand Down Expand Up @@ -606,13 +609,19 @@ tasks:
run: when_changed
cmds:
- |
if ! which go &>/dev/null; then
if
! which go \
&>/dev/null
then
echo "Go not found or not in PATH."
echo "Please install: https://go.dev/doc/install"
exit 1
fi
- |
if ! which python &>/dev/null; then
if
! which python \
&>/dev/null
then
python_constraint="$( \
yq \
--input-format toml \
Expand All @@ -627,7 +636,10 @@ tasks:
exit 1
fi
- |
if ! which pipx &>/dev/null; then
if
! which pipx \
&>/dev/null
then
echo "pipx not found or not in PATH."
echo "Please install: https://pipx.pypa.io/stable/installation/#installing-pipx"
exit 1
Expand Down Expand Up @@ -734,7 +746,10 @@ tasks:
exit 1
fi
- |
if ! which shellcheck &>/dev/null; then
if
! which shellcheck \
&>/dev/null
then
echo "shellcheck not installed or not in PATH."
echo "Please install: https://github.com/koalaman/shellcheck#installing"
exit 1
Expand Down Expand Up @@ -774,7 +789,10 @@ tasks:
exit 1
fi
- |
if ! which shfmt &>/dev/null; then
if
! which shfmt \
&>/dev/null
then
echo "shfmt not installed or not in PATH. Please install: https://github.com/mvdan/sh#shfmt"
exit 1
fi
Expand Down
Loading