From b05b995dcfce2efc507d55473a94227c9356522f Mon Sep 17 00:00:00 2001 From: MagomeYae <91249055+MagomeYae@users.noreply.github.com> Date: Mon, 13 Dec 2021 18:23:51 +0800 Subject: fix(ci): Fix workflow directory not correct Signed-off-by: MagomeYae <91249055+MagomeYae@users.noreply.github.com> --- .github/workflows/aur-check-update.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/aur-check-update.yml b/.github/workflows/aur-check-update.yml index 016e83a..de02aaa 100644 --- a/.github/workflows/aur-check-update.yml +++ b/.github/workflows/aur-check-update.yml @@ -17,22 +17,23 @@ jobs: name: Build steps: - - uses: actions/checkout@v2 - name: Install requirements and initialize submodules shell: bash run: | pacman-key --init pacman --noconfirm --needed -Syu git python pyalpm python-aiohttp python-aiofiles - git submodule update --init + - uses: actions/checkout@v2 - name: Check updates shell: bash run: | + cd "$GITHUB_WORKSPACE" ./utils/aur/check-aur-update.py --parse-pkgbuild ./utils/parse-pkgbuild.sh repo - name: Set environments id: get_env shell: bash run: | echo "::set-output name=date::$(date +%Y%m%d%H%M)" + cd "$GITHUB_WORKSPACE" || true echo "::set-output name=body::$(git diff --name-only | sed -e 's|^repo/|* |')" - name: Create Pull Request uses: peter-evans/create-pull-request@v3 -- cgit v1.3.1