Skip to content

Commit 130b7e7

Browse files
committed
fix: Include man pages in asset archives
1 parent 3f55cb6 commit 130b7e7

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,28 @@ jobs:
2727
id: bump
2828
uses: prantlf/bump-version-action@v2
2929
with:
30-
bump-files: yaml2json.v
30+
bump-files: src/yaml2json.v
3131
- name: Shelve changes
3232
uses: prantlf/shelve-changes-action@v1
3333
- name: Build and Test
3434
run: make RELEASE=1
3535
- name: Shelve output
36+
if: ${{ steps.bump.outputs.bumped == 'true' }}
3637
uses: prantlf/shelve-output-action@v2
3738
with:
38-
enable: ${{ steps.bump.outputs.bumped }}
39+
extra: man
3940
- name: Install ARM Cross-Compiler
4041
run: |
4142
sudo apt-get update
4243
sudo apt-get install gcc gcc-aarch64-linux-gnu binutils-aarch64-linux-gnu
4344
- name: Build ARM
4445
run: make build RELEASE=1 LINUX_ARM=1
4546
- name: Shelve output
47+
if: ${{ steps.bump.outputs.bumped == 'true' }}
4648
uses: prantlf/shelve-output-action@v2
4749
with:
48-
enable: ${{ steps.bump.outputs.bumped }}
4950
arch: arm64
51+
extra: man
5052

5153
macos:
5254
needs:
@@ -68,13 +70,16 @@ jobs:
6870
- name: Shelve output
6971
if: ${{ needs.linux.outputs.changed == 'true' }}
7072
uses: prantlf/shelve-output-action@v2
73+
with:
74+
extra: man
7175
- name: Build ARM
7276
run: make build RELEASE=1 MACOS_ARM=1
7377
- name: Shelve output
7478
if: ${{ needs.linux.outputs.changed == 'true' }}
7579
uses: prantlf/shelve-output-action@v2
7680
with:
7781
arch: arm64
82+
extra: man
7883

7984
windows:
8085
needs:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ check:
1818
v vet .
1919

2020
build:
21-
v $(VFLAGS) -use-os-system-to-run yaml2json.v
21+
v $(VFLAGS) -use-os-system-to-run -o yaml2json .
2222

2323
test:
2424
./test.sh

make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v -prod yaml2json.v
1+
v -prod -o yaml2json .
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)