generate-srcinfo: add names for all custom steps
This commit is contained in:
9
.github/workflows/generate-srcinfo.yml
vendored
9
.github/workflows/generate-srcinfo.yml
vendored
@@ -28,7 +28,8 @@ jobs:
|
||||
install: binutils
|
||||
update: true
|
||||
|
||||
- shell: msys2 {0}
|
||||
- name: Download srcinfo.json and set up the environment
|
||||
shell: msys2 {0}
|
||||
run: |
|
||||
# XXX: linting PKGBUILDs takes a loooong time, this skips it
|
||||
sed -i s/^lint_pkgbuild/#lint_pkgbuild/g /usr/bin/makepkg
|
||||
@@ -36,7 +37,8 @@ jobs:
|
||||
touch /mingw64/bin/gcc.exe /mingw32/bin/gcc.exe /ucrt64/bin/gcc.exe /clang64/bin/clang.exe /clang32/bin/clang.exe /clangarm64/bin/clang.exe
|
||||
curl --fail -L --retry 5 -o srcinfo.json "https://github.com/$GITHUB_REPOSITORY/releases/download/srcinfo-cache/srcinfo.json"
|
||||
|
||||
- run: |
|
||||
- name: Parse PKGBUILDs and update srcinfo.json
|
||||
run: |
|
||||
$MSYS2_ROOT=(msys2 -c 'cygpath -w /')
|
||||
python -u .ci/ci-generate-srcinfo.py --time-limit 19800 mingw "$MSYS2_ROOT" . srcinfo.json
|
||||
|
||||
@@ -55,7 +57,8 @@ jobs:
|
||||
with:
|
||||
name: result
|
||||
|
||||
- run: |
|
||||
- name: Upload srcinfo.json
|
||||
run: |
|
||||
gh release upload srcinfo-cache srcinfo.json --clobber --repo "$GITHUB_REPOSITORY"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user