diff --git a/.github/workflows/fetch-soundbreak.yml b/.github/workflows/fetch-soundbreak.yml new file mode 100644 index 0000000..057691d --- /dev/null +++ b/.github/workflows/fetch-soundbreak.yml @@ -0,0 +1,23 @@ +name: Fetch SoundBreak Audio +on: + push: + branches: [soundbreak-fetch] + pull_request: + branches: [main] + workflow_dispatch: +jobs: + fetch: + runs-on: ubuntu-latest + steps: + - name: Download songs + run: | + mkdir out + curl -L --fail --retry 3 'https://audio.soundbreak.ai/39d0a972493dfc392ddbb7a0ecce6681/f3d40945077a8cb357098311250d4213.mp3' -o 'out/gozen0ji_1.mp3' + curl -L --fail --retry 3 'https://audio.soundbreak.ai/39d0a972493dfc392ddbb7a0ecce6681/bf9d0c59964a37b03173d7c683153962.mp3' -o 'out/gozen0ji_2.mp3' + ls -lh out + - name: Upload audio artifact + uses: actions/upload-artifact@v4 + with: + name: soundbreak-audio + path: out/*.mp3 + if-no-files-found: error