final cleanup
This commit is contained in:
16
action.yml
16
action.yml
@@ -20,12 +20,6 @@ runs:
|
||||
run: |
|
||||
echo "#!/bin/bash
|
||||
echo '📤️ Uploading package to ${{ gitea.server_url }} ...'
|
||||
if [ -z "\$username" ]
|
||||
then
|
||||
echo "NO USERNAME DETECTED"
|
||||
else
|
||||
echo "\$username , first letter \${username:0:1}"
|
||||
fi
|
||||
curl --user \"\$username:\$token\" \
|
||||
--upload-file ./*.tar.zst \
|
||||
'${{ gitea.server_url }}/api/packages/packages_test/arch/microverse'
|
||||
@@ -36,16 +30,6 @@ runs:
|
||||
git add "./post-entrypoint.sh"
|
||||
git commit -m "fuck you, gitea"
|
||||
|
||||
- name: sanity check
|
||||
shell: bash
|
||||
run: |
|
||||
if [ -z "${{ inputs.username }}" ]; then
|
||||
echo "❌ Secret not set!"
|
||||
exit 1
|
||||
else
|
||||
echo "✅ Secret appears to be set."
|
||||
fi
|
||||
|
||||
- name: Build package
|
||||
uses: https://git.sanin.dev/packages_test/build-publish/@build
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user