Skip to content

Commit

Permalink
update to sdk 1.58a
Browse files Browse the repository at this point in the history
  • Loading branch information
Armaldio committed Nov 15, 2023
1 parent 7bae969 commit 6a26cca
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ jobs:
sudo apt-get install gcc-multilib g++-multilib
# mac
- if: matrix.os == 'macos-latest'
- if:
matrix.os == 'macos-latest'
run: brew install p7zip

# windows
Expand Down Expand Up @@ -125,7 +126,7 @@ jobs:

- run: |
cd greenworks
git apply ../diff.patch
# git apply ../diff.patch
yarn install
cat package.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "greenworks-prebuilds",
"version": "0.7.0",
"version": "0.8.0",
"description": "Prebuild binaries for greenworks",
"type": "module",
"scripts": {
Expand Down
Binary file modified sdk.zip
Binary file not shown.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const ARTIFACTS_ROOT = path.join(__dirname, '..', 'artifacts')
const argv = process.argv.slice(2)
const args = mri(argv)

const association = {
const association: Record<Args['os'], string> = {
'ubuntu-latest': 'linux',
'windows-latest': 'win32',
'macos-latest': 'darwin',
Expand Down Expand Up @@ -283,13 +283,13 @@ const getVersions = async (): Promise<any> => {
for (let i = 0; i < everything.length; i += 1) {
const version = everything[i]

if (version.abi < 70) {
if (version.abi < 108) {
// eslint-disable-next-line
continue
}

if (
runtime === 'electron' && os === 'macos-latest' && arch === 'ia32'
runtime === 'electron' && (os === 'macos-latest') && arch === 'ia32'
) {
// eslint-disable-next-line
continue
Expand Down
2 changes: 1 addition & 1 deletion src/makeMatrix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const run = async (/* release: Release */): Promise<void> => {
Runtimes.forEach((runtime) => {
Archs.forEach((arch) => {
if (
!(os === 'macos-latest' && arch === 'ia32')
!((os === 'macos-latest') && arch === 'ia32')
) {
matrix.push({
runtime,
Expand Down

0 comments on commit 6a26cca

Please sign in to comment.