Skip to content

Commit

Permalink
Actually upload the runtimes now that it works
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickpeterse committed Aug 14, 2024
1 parent d34b237 commit bc05a8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ jobs:
path: tmp/runtimes
merge-multiple: true
- name: Upload runtimes
run: rclone sync --dry-run --config rclone.conf --checksum --verbose tmp/runtimes "production:inko-releases/runtimes/${{ github.ref_name }}"
run: bash ci/upload_runtimes.sh
8 changes: 8 additions & 0 deletions ci/upload_runtimes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

set -e

VERSION="$(cargo pkgid -p inko | cut -d\# -f2 | cut -d: -f2)"

rclone sync --config rclone.conf --checksum --verbose tmp/runtimes \
"production:inko-releases/runtimes/$VERSION"

0 comments on commit bc05a8d

Please sign in to comment.