#1 : Publish generic package to gitea #2

Merged
devastator merged 36 commits from feature/1-publish into master 2026-09-28 01:07:59 +03:00
2 changed files with 3 additions and 11 deletions
Showing only changes of commit 559683cb4f - Show all commits
+1 -8
View File
@@ -8,17 +8,10 @@ jobs:
self-test:
runs-on: ubuntu-latest
steps:
- name: Debug actions context
run: |
echo "secret source: ${{ gitea.secret_source }}"
echo "secret length: ${#TEST_SECRET}"
echo "variable: ${{ vars.VAR_TEST }}"
env:
TEST_SECRET: ${{ secrets.SECRET_TEST }}
- run: touch text.txt
- uses: https://source.vague.tech/open-vague/ci-actions/publish@feature/1-publish
with:
file: text.txt
package: control-room-sdk-godoc
package: a-proper-test-package
version: master
force: false
+1 -2
View File
@@ -20,8 +20,7 @@ runs:
steps:
- shell: bash
run: |
echo "Token: ${{ secrets.SECRET_TEST }}, ${{ vars.VAR_TEST }}! ${{ secrets.SECRET_SOME }}, ${{ vars.VAR_SOME }}?"
curl -i --fail-with-body \
curl --fail-with-body \
--user "acti-bot:${{ secrets.ACTI_BOT_TOKEN }}" \
--upload-file ${{ inputs.file }} \
"${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.package }}/${{ inputs.version }}/${{ inputs.file }}"