Skip to content

Commit b09806f

Browse files
Move scripts folder to .github and update references
- Moved scripts/ to .github/scripts/ - Updated workflow to reference .github/scripts/sync-from-release.sh Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: luoliwoshang <51194195+luoliwoshang@users.noreply.github.com>
1 parent f317b52 commit b09806f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
File renamed without changes.

.github/workflows/validate-device-sync.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ jobs:
3737
3838
- name: Sync device content from TinyGo release
3939
run: |
40-
chmod +x scripts/sync-from-release.sh
41-
./scripts/sync-from-release.sh ${{ env.TINYGO_VERSION }} src/device device-temp
40+
chmod +x .github/scripts/sync-from-release.sh
41+
./.github/scripts/sync-from-release.sh ${{ env.TINYGO_VERSION }} src/device device-temp
4242
4343
- name: Compare synced content with repository
4444
run: |
@@ -47,7 +47,7 @@ jobs:
4747
if ! diff -r device/ device-temp/; then
4848
echo ""
4949
echo "Error: device/ directory does not match TinyGo ${{ env.TINYGO_VERSION }} official content"
50-
echo "Please run: ./scripts/sync-from-release.sh ${{ env.TINYGO_VERSION }} src/device device"
50+
echo "Please run: ./.github/scripts/sync-from-release.sh ${{ env.TINYGO_VERSION }} src/device device"
5151
exit 1
5252
fi
5353

0 commit comments

Comments
 (0)