Skip to content

Commit

Permalink
Update compiler.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
macarooni-man committed Nov 9, 2024
1 parent 91d18f8 commit ee1af39
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -426,22 +426,22 @@ jobs:
with:
path: ./artifacts

- name: List Downloaded Artifacts (Debugging)
run: |
echo "Downloaded artifacts:"
ls -R ./artifacts
- name: Upload Artifacts
env:
CLOUD_URL: ${{ secrets.CLOUD_URL }}
CLOUD_USERNAME: ${{ secrets.CLOUD_USERNAME }}
CLOUD_PASSWORD: ${{ secrets.CLOUD_PASSWORD }}
run: |
find ./artifacts -type f | while read file; do
filename=$(basename "$file")
echo "Uploading $filename..."
curl -u "$CLOUD_USERNAME:$CLOUD_PASSWORD" -T "$file" "$CLOUD_URL"
done
- name: List Downloaded Artifacts (Debugging)
run: |
echo "Downloaded artifacts:"
ls -R ./artifacts
- name: Upload Artifacts
env:
CLOUD_URL: ${{ secrets.CLOUD_URL }}
CLOUD_USERNAME: ${{ secrets.CLOUD_USERNAME }}
CLOUD_PASSWORD: ${{ secrets.CLOUD_PASSWORD }}
run: |
find ./artifacts -type f | while read file; do
filename=$(basename "$file")
echo "Uploading $filename..."
curl -u "$CLOUD_USERNAME:$CLOUD_PASSWORD" -T "$file" "$CLOUD_URL"
done
# Publish images to Docker Hub
Expand Down

0 comments on commit ee1af39

Please sign in to comment.