mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 18:21:12 -05:00
reference itself
This commit is contained in:
parent
f608518e87
commit
e39c635a02
3 changed files with 4 additions and 1 deletions
|
@ -12,3 +12,4 @@ jobs:
|
|||
./forgejo-runner.sh setup
|
||||
# testdata/run.sh workflow http://root:admin1234@$(cat forgejo-ip):3000 root demo
|
||||
testdata/run.sh push_self http://root:admin1234@$(cat forgejo-ip):3000 root
|
||||
testdata/run.sh workflow http://root:admin1234@$(cat forgejo-ip):3000 root try-setup-forgejo
|
||||
|
|
2
testdata/run.sh
vendored
2
testdata/run.sh
vendored
|
@ -83,6 +83,8 @@ function push_self() {
|
|||
git config user.name username
|
||||
git commit -m 'avoid workflow infinite recursion'
|
||||
git push --force origin fortesting:main
|
||||
git tag --force vTest HEAD
|
||||
git push --force origin vTest
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: SELF/setup-forgejo@v1
|
||||
- uses: SELF/setup-forgejo@vTest
|
Loading…
Reference in a new issue