Skip to content

Commit b4f68f2

Browse files
Merge pull request #35 from FLock-io/fix/build
fix permission main.bin
2 parents ad6872f + b8c8faa commit b4f68f2

File tree

2 files changed

+52
-45
lines changed

2 files changed

+52
-45
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
cache-dependency-path: |
4444
**/requirements*.txt
4545
46+
# Install dependencies
47+
- name: Install Dependencies
48+
run: |
49+
pip install -r ./client/requirements.txt
50+
51+
# Build main client
4652
- name: Build main client
4753
uses: ignas-gustainis/Nuitka-Action@main
4854
with:
@@ -68,6 +74,7 @@ jobs:
6874
run: |
6975
mkdir -p ./build/bin
7076
mv ./build/main.bin ./build/bin/main.bin
77+
chmod +x ./build/bin/main.bin
7178
7279
- name: Move main.exe
7380
if: runner.os == 'Windows'

.github/workflows/test.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
1-
name: Test
2-
3-
on: [push, pull_request]
4-
5-
jobs:
6-
test:
7-
runs-on: ${{ matrix.os }}
8-
9-
strategy:
10-
matrix:
11-
os: [macos-latest, windows-latest, ubuntu-latest]
12-
13-
steps:
14-
- name: Check out Git repository
15-
uses: actions/checkout@v3
16-
17-
- name: Install Node.js and NPM
18-
uses: actions/setup-node@v3
19-
with:
20-
node-version: 18
21-
cache: npm
22-
23-
- name: npm install
24-
run: |
25-
npm install --force
26-
27-
- name: npm test
28-
env:
29-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30-
run: |
31-
npm run package
32-
33-
# npm run lint
34-
# npm exec tsc
35-
# npm test
36-
37-
# Uploads artifacts
38-
- name: 'Upload Artifacts'
39-
uses: actions/upload-artifact@v3
40-
with:
41-
name: ${{ runner.os }} Build
42-
path: |
43-
release/build/*.exe
44-
release/build/*.AppImage
45-
release/build/*.dmg
1+
# name: Test
2+
3+
# on: [push, pull_request]
4+
5+
# jobs:
6+
# test:
7+
# runs-on: ${{ matrix.os }}
8+
9+
# strategy:
10+
# matrix:
11+
# os: [macos-latest, windows-latest, ubuntu-latest]
12+
13+
# steps:
14+
# - name: Check out Git repository
15+
# uses: actions/checkout@v3
16+
17+
# - name: Install Node.js and NPM
18+
# uses: actions/setup-node@v3
19+
# with:
20+
# node-version: 18
21+
# cache: npm
22+
23+
# - name: npm install
24+
# run: |
25+
# npm install --force
26+
27+
# - name: npm test
28+
# env:
29+
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
# run: |
31+
# npm run package
32+
33+
# # npm run lint
34+
# # npm exec tsc
35+
# # npm test
36+
37+
# # Uploads artifacts
38+
# - name: 'Upload Artifacts'
39+
# uses: actions/upload-artifact@v3
40+
# with:
41+
# name: ${{ runner.os }} Build
42+
# path: |
43+
# release/build/*.exe
44+
# release/build/*.AppImage
45+
# release/build/*.dmg

0 commit comments

Comments
 (0)