Skip to content

Commit

Permalink
Update gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
branchseer committed Oct 24, 2021
1 parent 0439e6f commit 09e0f01
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,14 @@ on:
nodeVersion:
description: "Node.js version"
required: true
publish:
description: "Upload to GitHub releases, and cancel on error"
required: true
default: "1"

env:
LIBNODE_NODE_VERSION: ${{ github.event.inputs.nodeVersion }}

jobs:
build:
continue-on-error: "${{ github.event.inputs.publish }}" != "1"
strategy:
fail-fast: false
matrix:
os: [macos-11, windows-2019, ubuntu-20.04]
x86: [0, 1]
Expand All @@ -35,11 +31,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '11.2.1'
if: runner.os == 'macOS'

- uses: actions/setup-python@v2
with:
python-version: '3.x'
Expand Down Expand Up @@ -93,7 +84,6 @@ jobs:
run: python -m scripts.test

gh_release:
if: "${{ github.event.inputs.publish }}" == "1"
needs: build
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 09e0f01

Please sign in to comment.