Skip to content

Commit

Permalink
optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
leleliu008 committed Jan 16, 2025
1 parent 160f89f commit f34c905
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
- uses: actions/checkout@v4

- run: apk update
- run: apk add g++ linux-headers
- run: apk add curl g++ linux-headers

- run: wget https://raw.githubusercontent.com/leleliu008/ppkg/master/ppkg
- run: chmod a+x ppkg
Expand Down Expand Up @@ -125,9 +125,9 @@ jobs:
for f in *.c
do
OUTFILE="${f%.c}.exe"
run "$CC" "$CFLAGS" "$CPPFLAGS" "$LDFLAGS" -std=c99 -Oz -flto -Wl,-s -static -o "$OUTFILE" "$"
install_bins "$OUTFILE"
OUTFILE="\${f%.c}.exe"
run "\$CC" "\$CFLAGS" "\$CPPFLAGS" "\$LDFLAGS" -std=c99 -Oz -flto -Wl,-s -static -o "\$OUTFILE" "\$f"
install_bins "\$OUTFILE"
done
EOF
Expand Down

0 comments on commit f34c905

Please sign in to comment.