Обновить .gitea/workflows/build.yml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s

This commit is contained in:
svk 2024-06-27 13:29:10 +03:00
parent 23de123a0b
commit ea988f6b8d

View File

@ -17,7 +17,5 @@ jobs:
cd projman/debian cd projman/debian
./build-deb-projman.sh ./build-deb-projman.sh
cd ../../ cd ../../
echo "curl --user ${{ vars.user}}:${{vars.api_token}} --upload-file ${{ PACKAGE_FILE }} ${{vars.main_url}}api/packages/${{vars.user}}/debian/pool/bookworm/main/upload" curl --user ${{ vars.user}}:${{vars.api_token}} --upload-file "$(ls -1| grep projman | grep -E 'deb$')" ${{vars.main_url}}api/packages/${{vars.user}}/debian/pool/bookworm/main/upload
export PACKAGE_FILE=$(ls -1| grep projman | grep -E "deb$")
curl --user ${{ vars.user}}:${{vars.api_token}} --upload-file "${{ PACKAGE_FILE }}" ${{vars.main_url}}api/packages/${{vars.user}}/debian/pool/bookworm/main/upload
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."