Aktualizovat „.gitea/workflows/build.yml“
Explore-Gitea-Actions Details

This commit is contained in:
Radim Lipovčan 2023-04-02 15:38:14 +02:00
parent 68e00ec5bf
commit 309e3555a4
1 changed files with 12 additions and 8 deletions

View File

@ -26,11 +26,15 @@ jobs:
# run: cd Folia && ./gradlew createReobfBundlerJar
- name: Build | ls
run: mkdir Folia/build/libs -p && cd Folia && echo "works" > build/libs/one.jar && ls build/libs -lah && export ACTIONS_RUNTIME_TOKEN=${{ secrets.ACTIONS_RUNTIME_TOKEN }}
- name: Upload artifacts
env:
ACTIONS_RUNTIME_TOKEN: "{{ secrets.ACTIONS_RUNTIME_TOKEN }}"
ACTIONS_RUNTIME_URL: https://git.lipovcan.cz/api/actions_pipeline/
uses: https://github.com/actions/upload-artifact@v3
with:
name: built-jar
path: Folia/build/libs/*.jar
- name:
run: scp -r Folia/build/libs username:mypass@gitea.lipovcan.cz:/home/username/
#- name: Upload artifacts
# env:
# ACTIONS_RUNTIME_TOKEN: "{{ secrets.ACTIONS_RUNTIME_TOKEN }}"
# ACTIONS_RUNTIME_URL: https://git.lipovcan.cz/api/actions_pipeline/
# uses: https://github.com/actions/upload-artifact@v3
# with:
# name: built-jar
# path: Folia/build/libs/*.jar