Skip to content

Commit

Permalink
Add get player binary script
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinmartian committed Nov 2, 2023
1 parent 7e754bc commit eeab91e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions player/get_player.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

ARTIFACT_FILE="go_player"

# Get the URL for the latest artifact of the workflow run
ARTIFACT_URL="https://github.com/marvinmartian/yoda-player/releases/download/v0.0.1/player"

# Download the artifact using curl
curl -L -o "$ARTIFACT_FILE" "$ARTIFACT_URL"

chmod +x $ARTIFACT_FILE

0 comments on commit eeab91e

Please sign in to comment.