mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
More accurate data retrieval
This commit is contained in:
4
.github/workflows/test-diffcalc.yml
vendored
4
.github/workflows/test-diffcalc.yml
vendored
@ -93,8 +93,8 @@ jobs:
|
||||
# Initial data imports
|
||||
- name: Download + import data
|
||||
run: |
|
||||
PERFORMANCE_DATA_NAME=$(date +'%Y_%m_01_performance_${{ matrix.ruleset.name }}_random')
|
||||
BEATMAPS_DATA_NAME=$(date +'%Y_%m_01_osu_files')
|
||||
PERFORMANCE_DATA_NAME=$(curl https://data.ppy.sh/ | grep performance_${{ matrix.ruleset.name }}_random | tail -1 | awk -F "\"" '{print $2}' | sed 's/\.tar\.bz2//g')
|
||||
BEATMAPS_DATA_NAME=$(curl https://data.ppy.sh/ | grep osu_files | tail -1 | awk -F "\"" '{print $2}' | sed 's/\.tar\.bz2//g')
|
||||
|
||||
# Set env variable for further steps.
|
||||
echo "BEATMAPS_PATH=$GITHUB_WORKSPACE/$BEATMAPS_DATA_NAME" >> $GITHUB_ENV
|
||||
|
Reference in New Issue
Block a user