This commit is contained in:
@@ -79,6 +79,7 @@ jobs:
|
||||
NEXUS_USER: ${{ secrets.NEXUS_USER }}
|
||||
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
VERSION=${GITHUB_REF#refs/tags/}
|
||||
for FILE in build/ntfy-bridge-*; do
|
||||
[ -f "$FILE" ] || continue
|
||||
@@ -88,8 +89,8 @@ jobs:
|
||||
-X PUT \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
--data-binary "@${FILE}" \
|
||||
"${NEXUS_URL}/repository/raw-hosted/ntfy-bridge/${VERSION}/${FNAME}" \
|
||||
&& echo " OK" || echo " FAILED"
|
||||
"${NEXUS_URL}/repository/raw-hosted/ntfy-bridge/${VERSION}/${FNAME}"
|
||||
echo " OK"
|
||||
done
|
||||
|
||||
- name: Publish Release (tags only)
|
||||
|
||||
Reference in New Issue
Block a user