Skip to content

Commit

Permalink
chore: push action-gh-release from v1 to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
speed47 committed May 8, 2024
1 parent dfd5808 commit e175b6f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
set +x
./configure ${{ matrix.clionly }} --with-werror
- name: make
run: make -j$(sysctl -n hw.ncpu || 2)
run: |
cat Makefile.config
make -j$(sysctl -n hw.ncpu || 2)
- name: check executability
run: ./dvdisaster --version
- name: check executable (GUI)
Expand All @@ -49,7 +51,7 @@ jobs:
run: ./.github/workflows/make-mac-app.sh ${{ github.ref }}
id: dist
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.dist.outputs.archive }}
draft: true
Expand Down Expand Up @@ -112,7 +114,7 @@ jobs:
cd dist
dvdisaster.exe --version
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.dist.outputs.archive }}
draft: true
Expand All @@ -138,7 +140,7 @@ jobs:
run: ./.github/workflows/make-dist.sh ${{ github.ref }}
id: dist
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.dist.outputs.archive }}
draft: true
Expand Down Expand Up @@ -195,7 +197,7 @@ jobs:
echo "archive=$archive" >> "$GITHUB_OUTPUT"
echo "appimage is <$archive>"
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: ${{ steps.dist.outputs.archive }}
draft: true
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ jobs:
set +x
./configure ${{ matrix.clionly }} ${{ matrix.debugprintf }} --with-werror
- name: make
run: make -j$(sysctl -n hw.ncpu || 2)
run: |
cat Makefile.config
echo xxxxxxxxxxxxxxxxxxxxxxx
grep -i icon GNUmakefile
make -j$(sysctl -n hw.ncpu || 2)
- name: check executability
run: ./dvdisaster --version
- name: check executable (GUI)
Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile.template
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ ${BUILDTMP}/build.o : src/build.c src/build.h
@echo "Compiling:" src/build.o
@$(CC) $(COPTS) -c src/build.c -o $@

${BUILDTMP}/closure.o : src/closure.c src/inlined-icons.h
${BUILDTMP}/closure.o : src/closure.c $(ICONS)
@echo "Compiling:" src/closure.c
@$(CC) $(COPTS) -c src/closure.c -o $@

${BUILDTMP}/icon-factory.o : src/icon-factory.c src/inlined-icons.h
${BUILDTMP}/icon-factory.o : src/icon-factory.c $(ICONS)
@echo "Compiling:" src/icon-factory.c
@$(CC) $(COPTS) -c src/icon-factory.c -o $@

Expand Down
5 changes: 4 additions & 1 deletion src/closure.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
/*** src type: some GUI code ***/

#include "dvdisaster.h"
#include "inlined-icons.h"

#ifdef WITH_GUI_YES
#include "inlined-icons.h"
#endif

#if 0
#define Verbose g_printf
Expand Down

0 comments on commit e175b6f

Please sign in to comment.