Aktualizovat „.gitea/workflows/build.yml“
Explore-Gitea-Actions
Details
Explore-Gitea-Actions
Details
This commit is contained in:
parent
68e00ec5bf
commit
309e3555a4
|
@ -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
|
Loading…
Reference in New Issue