Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
use setup-python2
Browse files Browse the repository at this point in the history
  • Loading branch information
a7ul committed May 12, 2020
1 parent 6286281 commit 602cb55
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 24 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
steps:
- uses: actions/setup-node@master
with:
node-version: "14.x"
node-version: "14.x"
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Ubuntu dependencies
run: sudo apt-get install libgtk-3-dev

- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
Expand All @@ -23,7 +23,7 @@ jobs:
run: node build.js
env:
SYNC_GIT_SUBMODULE: 1

- name: Compress files
uses: master-atul/[email protected]
with:
Expand All @@ -32,17 +32,16 @@ jobs:
files: |
./qode
outPath: qode-linux-x64-${{github.event.release.tag_name}}.tar.gz

- uses: actions/upload-artifact@v1
with:
name: qode-linux-x64-${{github.event.release.tag_name}}.tar.gz
path: qode-linux-x64-${{github.event.release.tag_name}}.tar.gz



- name: Release
uses: softprops/action-gh-release@master
with:
files: qode-linux-x64-${{github.event.release.tag_name}}.tar.gz
tag_name: ${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
steps:
- uses: actions/setup-node@master
with:
node-version: "14.x"
node-version: "14.x"
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
Expand All @@ -34,11 +34,11 @@ jobs:
with:
name: qode-darwin-x64-${{github.event.release.tag_name}}.tar.gz
path: qode-darwin-x64-${{github.event.release.tag_name}}.tar.gz

- name: Release
uses: softprops/action-gh-release@master
with:
files: qode-darwin-x64-${{github.event.release.tag_name}}.tar.gz
tag_name: ${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20 changes: 8 additions & 12 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@ jobs:
steps:
- uses: actions/setup-node@master
with:
node-version: "14.x"
- name: Set up Python 3.8
uses: actions/setup-python@v1
node-version: "14.x"
- name: Set up Python 2.x
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 2.7
- name: "Setup NASM for windows"
uses: ilammy/setup-nasm@v1
- name: Install Python2 for windows
uses: actions/setup-python@v1
with:
python-version: '2.x'


- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
Expand All @@ -27,7 +23,7 @@ jobs:
run: node build.js
env:
SYNC_GIT_SUBMODULE: 1

- name: Compress files
uses: master-atul/[email protected]
id: compress
Expand All @@ -39,7 +35,7 @@ jobs:
./qode.lib
./qode.exp
outPath: qode-win32-x64-${{github.event.release.tag_name}}.tar.gz

- uses: actions/upload-artifact@v1
with:
name: qode-win32-x64-${{github.event.release.tag_name}}.tar.gz
Expand All @@ -51,4 +47,4 @@ jobs:
files: qode-win32-x64-${{github.event.release.tag_name}}.tar.gz
tag_name: ${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ It is designed to be used together with `@nodegui/nodegui`. Qode achieves this b
> Now, Qode essentially becomes nodejs + `<some code changes to allow message loop injection via an addon>`


### Note:

Qode is published as a NPM module as `@nodegui/qode`.
Expand Down
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node

const path = require("path");
const os = require('os');
const os = require("os");

//==================================
// HELPER UTILITIES
Expand Down
2 changes: 1 addition & 1 deletion node
Submodule node updated from 53328f to 338581

0 comments on commit 602cb55

Please sign in to comment.