Skip to content

Check Build Push

Check Build Push #3

# vim: softtabstop=2 shiftwidth=2 tabstop=2 expandtab
# vim: textwidth=80 colorcolumn=+1
---
name: Check Build Push
on:
# Allows manual workflow run (must in default branch to work)
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-24.04
# container:
# image: bilelmoussaoui/flatpak-github-actions:freedesktop-24.08
# options: --privileged
steps:
- uses: actions/checkout@v4
with:
repository: 'wehagy/org.wezfurlong.wezterm'
#path: 'manifests'
- name: check
id: check
run:
- >-

Check failure on line 26 in .github/workflows/check-build-push.yml

View workflow run for this annotation

GitHub Actions / Check Build Push

Invalid workflow file

The workflow is not valid. .github/workflows/check-build-push.yml (Line: 26, Col: 11): A sequence was not expected
SHA256_NEW="$(curl -sSL https://api.github.com/repos/wez/wezterm/commits/main
| jq --raw-output '.commit.tree.sha')"
- |
if ! grep "$SHA256_NEW" org.wezfurlong.wezterm.yml; then
SHA256_OLD="$(sed -n '/commit/{n;p;}' org.wezfurlong.wezterm.yml)"
sed "s/${SHA256_OLD}/${SHA256_NEW}" org.wezfurlong.wezterm.yml
fi
- >-
echo "hello"