.gitea/workflows/build-release.yaml aktualisiert
Android Build & Release / build (push) Has been cancelled
Android Build & Release / build (push) Has been cancelled
This commit is contained in:
1 parent
bf0191d843
commit
a6aba0b0ba
1 file changed
+9
-2
@@ -9,8 +9,15 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code (Manuell & Sicher)
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
|
git init
|
||||||
|
# Nutzt die direkte, interne Docker-Verbindung zum Gitea-Container:
|
||||||
|
git remote add origin http://server:3000/${{ github.repository }}.git
|
||||||
|
git config --global credential.helper 'store --file=.git/credentials'
|
||||||
|
echo "http://x-access-token:${{ secrets.GITEA_TOKEN }}@server:3000" > .git/credentials
|
||||||
|
git fetch --depth=1 origin ${{ github.ref }}
|
||||||
|
git checkout FETCH_HEAD
|
||||||
|
|
||||||
- name: Java einrichten
|
- name: Java einrichten
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
|
|||||||
Reference in new issue
Block a user