diff options
| author | MagomeYae <[email protected]> | 2021-12-13 18:23:51 +0800 |
|---|---|---|
| committer | MagomeYae <[email protected]> | 2021-12-13 18:42:10 +0800 |
| commit | b05b995dcfce2efc507d55473a94227c9356522f (patch) | |
| tree | 687dda0f6d206bb17b67ab921c6f52b785d41732 /.github | |
| parent | 60fd6fca9f2d293d29893e2358ed19d05719b7ac (diff) | |
fix(ci): Fix workflow directory not correct
Signed-off-by: MagomeYae <[email protected]>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/aur-check-update.yml | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
