Skip to content

Commit 8694e4c

Browse files
committed
fix checked out repo permission and makefile order
1 parent 2c0afc1 commit 8694e4c

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232

3333
- name: build
3434
run: |
35+
chown -R $(whoami):$(whoami) .
3536
make
3637
mkdir -p dist
3738
mv switch-time.nro dist

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,7 @@ ifneq ($(ROMFS),)
204204
export NROFLAGS += --romfsdir=$(CURDIR)/$(ROMFS)
205205
endif
206206

207-
.PHONY: $(BUILD) clean all version
208-
209-
#---------------------------------------------------------------------------------
210-
version:
211-
@echo $(APP_VERSION)
207+
.PHONY: $(BUILD) version clean all
212208

213209
#---------------------------------------------------------------------------------
214210
all: $(BUILD)
@@ -227,6 +223,10 @@ else
227223
endif
228224

229225

226+
#---------------------------------------------------------------------------------
227+
version:
228+
@echo $(APP_VERSION)
229+
230230
#---------------------------------------------------------------------------------
231231
else
232232
.PHONY: all

0 commit comments

Comments
 (0)