Skip to content

Commit fcfc040

Browse files
committed
replace upload pages artifact action
1 parent 03a5a04 commit fcfc040

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,11 @@ jobs:
272272
if: matrix.name == 'macos'
273273
run: brew install lcov && make test COVERAGE=true
274274

275-
- uses: actions/upload-artifact@v4.6.2
275+
- uses: actions/upload-pages-artifact@v3.0.1
276276
if: matrix.name == 'macos'
277277
with:
278278
name: github-pages
279279
path: coverage
280-
if-no-files-found: error
281280

282281
- uses: actions/[email protected]
283282
if: always()
@@ -305,7 +304,7 @@ jobs:
305304
uses: actions/configure-pages@v5
306305

307306
- name: deploy coverage to GitHub Pages
308-
uses: actions/deploy-pages@v3.0.1
307+
uses: actions/deploy-pages@v4.0.5
309308

310309
release:
311310
runs-on: ubuntu-latest

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,15 @@ all: $(TARGET)
116116

117117
# Loadable library
118118
$(TARGET): $(RELEASE_OBJ) $(DEF_FILE)
119-
$(CC) $? -o $@ $(LDFLAGS)
119+
$(CC) $(RELEASE_OBJ) $(DEF_FILE) -o $@ $(LDFLAGS)
120120
ifeq ($(PLATFORM),windows)
121121
# Generate import library for Windows
122122
dlltool -D $@ -d $(DEF_FILE) -l $(DIST_DIR)/js.lib
123123
endif
124124

125125
# Test executable
126126
$(TEST_TARGET): $(TEST_OBJ)
127-
$(CC) $? -o $@ $(T_LDFLAGS)
127+
$(CC) $(TEST_OBJ) -o $@ $(T_LDFLAGS)
128128

129129
# Object files
130130
$(BUILD_RELEASE)/%.o: %.c

0 commit comments

Comments
 (0)