mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Add a build job to dump details about the repository
This commit is contained in:
parent
142f23bd50
commit
d22f74bf69
53
.github/workflows/debug.yml
vendored
Normal file
53
.github/workflows/debug.yml
vendored
Normal file
|
@ -0,0 +1,53 @@
|
|||
---
|
||||
name: Debug
|
||||
|
||||
# yamllint disable-line rule:truthy
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
||||
# Oh, github, for a company that is built around the git VCS, how is it
|
||||
# that you have managed to break the repositories so much?
|
||||
#
|
||||
debug_github_repo:
|
||||
name: Debug Github Repo
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Fix Checkout
|
||||
run: |
|
||||
git fetch --force --tags
|
||||
|
||||
- name: Debug data output
|
||||
run: |
|
||||
echo ==========
|
||||
echo git status
|
||||
git status
|
||||
echo ==========
|
||||
echo git tag
|
||||
git tag
|
||||
echo ==========
|
||||
echo git describe
|
||||
git describe || true
|
||||
echo ==========
|
||||
echo git for-each-ref refs/heads
|
||||
git for-each-ref refs/heads
|
||||
echo ==========
|
||||
echo git for-each-ref refs/tags
|
||||
git for-each-ref refs/tags
|
||||
echo ==========
|
||||
echo ls .git/refs/heads
|
||||
ls .git/refs/heads
|
||||
echo ==========
|
||||
echo ls .git/refs/tags
|
||||
ls .git/refs/tags
|
||||
echo ==========
|
||||
TYPE=$(git cat-file -t $GITHUB_REF)
|
||||
echo REF=$GITHUB_REF
|
||||
echo TAGTYPE=$TYPE
|
||||
echo ==========
|
||||
echo git cat-file $TYPE $GITHUB_REF
|
||||
git cat-file $TYPE $GITHUB_REF
|
Loading…
Reference in New Issue
Block a user