Skip to content

Commit f078d78

Browse files
committed
debug
1 parent fcdd2bf commit f078d78

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,19 @@ jobs:
5555

5656
- name: Build Plugin
5757
shell: bash
58-
run: task build
58+
run: |
59+
task build
5960
env:
6061
OS: ${{ matrix.target }}
6162
ARCH: ${{ matrix.arch }}
6263
VERSION: ${{ inputs.tag_name }}
6364

65+
- name: Make binary executable
66+
if: ${{ matrix.target != 'windows' }}
67+
run: |
68+
ls -la build/
69+
chmod +x build/node-manager-plugin*
70+
6471
- name: Sign Macos binary
6572
uses: massalabs/massa/.github/actions/sign-macos@ccc3f02e34544f722634a6fb7732cc4bb515e90b
6673
if: ${{ runner.os == 'macOS' }}

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,11 @@ jobs:
9595
- name: Download plugin binary artifacts
9696
uses: actions/download-artifact@v4
9797
with:
98-
pattern: 'node-manager-plugin_${{matrix.target}}*'
98+
pattern: ${{ env.TARGET_NAME }}
9999

100100
- name: make bin executable
101101
run: |
102+
ls -la ${{ env.TARGET_NAME }}
102103
chmod +x ${{ env.TARGET_NAME }}/*
103104
104105
- name : zip package

Taskfile.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ tasks:
106106
- cmd: 'echo Version: {{.VERSION | default "Development"}}'
107107
silent: true
108108
- cmd: go build {{.BUILD_FLAGS}} -o {{.BIN_DIR}}/{{.APP_NAME}}{{.BIN_EXT}} ./main.go
109+
109110
vars:
110111
PRODUCTION: '{{if ne .VERSION nil}}{{if ne .VERSION ""}}true{{end}}{{end}}'
111112
VERSION_FLAG: '{{if ne .VERSION nil}}{{if ne .VERSION ""}}-X github.com/massalabs/node-manager-plugin/int/config.Version={{.VERSION}}{{end}}{{end}}'

0 commit comments

Comments
 (0)