9
0
mirror of https://github.com/SparklyPower/SparklyPaper.git synced 2025-12-28 19:39:06 +00:00

[ci skip] Fix RegEx and add cron job

This commit is contained in:
MrPowerGamerBR
2022-08-22 19:23:22 -03:00
committed by GitHub
parent 922c481c41
commit 89c54d5b28

View File

@@ -1,6 +1,8 @@
name: Automatically update Paper commit hash
on:
workflow_dispatch: {}
schedule:
- cron: "0 0 * * *"
jobs:
build:
runs-on: ubuntu-latest
@@ -26,7 +28,7 @@ jobs:
- name: Update paperRef in SparklyPaper
run: |
sed -i "s/\paperRef=@.*/paperRef=$PAPER_REF/" SparklyPaper/gradle.properties
sed -i "s/\paperRef=.*/paperRef=$PAPER_REF/" SparklyPaper/gradle.properties
env:
PAPER_REF: ${{ steps.paperRef.outputs.paperRef }}