mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-03-11 17:15:38 +00:00
Fixed bug with update-resources in build.yml
This commit is contained in:
parent
db75506fb6
commit
11a70fccf5
1 changed files with 4 additions and 0 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -132,8 +132,12 @@ jobs:
|
|||
- name: Update Resource Link SHA
|
||||
run: |
|
||||
sed -i "/@resource/ s/sha=[a-f0-9]\{40\}/sha=${AUTO_SHA}/g" dist/BlueMarble.user.js src/BlueMarble.meta.js
|
||||
sed -i "/@icon/ s/sha=[a-f0-9]\{40\}/sha=${AUTO_SHA}/g" dist/BlueMarble.user.js src/BlueMarble.meta.js
|
||||
echo "Updated resourceLinkSHA:"
|
||||
grep "@resource" dist/BlueMarble.user.js src/BlueMarble.meta.js
|
||||
grep "@icon" dist/BlueMarble.user.js src/BlueMarble.meta.js
|
||||
env:
|
||||
AUTO_SHA: ${{ env.AUTO_SHA }}
|
||||
|
||||
- name: Commit Resource Link SHA
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Reference in a new issue