mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-30 02:01:04 -05:00
remove lxc-helpers as a submodule
This commit is contained in:
parent
6a5ec6ba37
commit
f3b926adca
6 changed files with 3 additions and 11 deletions
|
@ -11,8 +11,6 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'true'
|
||||
- run: |
|
||||
set -x
|
||||
./forgejo-dependencies.sh install_docker
|
||||
|
|
|
@ -4,8 +4,6 @@ jobs:
|
|||
runs-on: self-hosted
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'true'
|
||||
- run: |
|
||||
set -x
|
||||
LXC_IP_PREFIX=10.0.9 ./forgejo-dependencies.sh
|
||||
|
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
|||
[submodule "lxc-helpers"]
|
||||
path = lxc-helpers
|
||||
url = https://code.forgejo.org/forgejo/lxc-helpers
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
set -x
|
||||
|
||||
source $(dirname $0)/lxc-helpers/lxc-helpers-lib.sh
|
||||
source $(dirname $0)/lxc-helpers-lib.sh
|
||||
|
||||
: ${LXC_IP_PREFIX:=10.0.8}
|
||||
|
||||
|
|
|
@ -138,10 +138,10 @@ function push_self_action() {
|
|||
local tag="$4"
|
||||
|
||||
local dir="$DIR/self"
|
||||
git clone --recurse-submodules . $dir
|
||||
git clone . $dir
|
||||
(
|
||||
cd $dir
|
||||
rm -fr .forgejo .git lxc-helpers/.git
|
||||
rm -fr .forgejo .git
|
||||
git init
|
||||
git checkout -b main
|
||||
git remote add origin "$url/$owner/$self_action"
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit b0766388a2624bc56258053576c7c09dba2e7cf5
|
Loading…
Reference in a new issue