@@ -131,18 +131,22 @@ jobs:
|
||||
D0=artifacts/target/release
|
||||
FNAME=daqingest
|
||||
VER=$($D0/$FNAME version)
|
||||
URL="https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME"
|
||||
echo URL "$URL"
|
||||
curl \
|
||||
--fail \
|
||||
--user "${{gitea.actor}}:$PSI_GITEA_PUB" \
|
||||
--upload-file $D0/$FNAME \
|
||||
"https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME"
|
||||
"$URL"
|
||||
FNAME=daqretrieve
|
||||
VER=$($D0/$FNAME version)
|
||||
URL="https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME"
|
||||
echo URL "$URL"
|
||||
curl \
|
||||
--fail \
|
||||
--user "${{gitea.actor}}:$PSI_GITEA_PUB" \
|
||||
--upload-file $D0/$FNAME \
|
||||
"https://gitea.psi.ch/api/packages/${{gitea.repository_owner}}/generic/$FNAME/$VER/$FNAME"
|
||||
"$URL"
|
||||
- name: Publish package
|
||||
if: false
|
||||
uses: actions/upload-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user