Private
Public Access
2
0

dev #15

Merged
seb merged 4 commits from dev into main 2026-02-02 20:22:50 +01:00
Showing only changes of commit c6edcc9bc5 - Show all commits

View File

@@ -2,7 +2,9 @@ name: Publish collection to Galaxy
on:
push:
tags:
- 'v*'
- "v*"
branches:
- "main"
jobs:
publish:
@@ -20,3 +22,12 @@ jobs:
# - uses: actions/gitea-upload-artifact@v3
# with:
# path: /workspace/itik/bgwaf/seb4itik/byow/seb4itik-byow-0.1.2.tar.gz
- name: Push artifacts
run: |
GITEA_REPO_OWNER=$(echo $GITEA_REPOSITORY | cut -d"/" -f1) && \
GITEA_REPO_NAME=$(echo $GITEA_REPOSITORY | cut -d"/" -f2) && \
curl \
-X PUT \
-H "Authorization: token ${{ secrets.CI_GITEA_PACKAGES_TOKEN }}" \
--upload-file seb4itik-byow-${VER}.tar.gz \
$GITEA_SERVER_URL/api/packages/${GITEA_REPO_OWNER}/generic/${GITEA_REPO_NAME}/${GITEA_SHA}/seb4itik-byow-${VER}.tar.gz