Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
andife committed Jul 12, 2024
1 parent 3b1ef9a commit 4164b92
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 32 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ jobs:
matrix:
os: ['ubuntu-latest']
uses: andife/onnx/.github/workflows/release_linux_x86_64.yml@20240710_start_reuseableworkflow
with:
node: "14"
with:
os: "linux_x86_64"


Expand All @@ -30,8 +29,7 @@ jobs:
matrix:
os: ['ubuntu-latest']
uses: andife/onnx/.github/workflows/release_linux_aarch64.yml@20240710_start_reuseableworkflow
with:
node: "14"
with:
os: "linux_aarch64"

# call-workflow-win:
Expand All @@ -48,8 +46,7 @@ jobs:
matrix:
os: ['mac-latest']
uses: andife/onnx/.github/workflows/release_mac.yml@20240710_start_reuseableworkflow
with:
node: "14"
with:
os: "mac"

# TODO: each for every OS?
Expand All @@ -66,8 +63,8 @@ jobs:
# # Upload provenance to a new release
# upload-assets: true

github-release:
name: Prepare Files for Github Release
prepare-release:
name: Prepare Files for Release (Github, pypi)
runs-on: ubuntu-latest
needs: [call-workflow-ubuntu_x86, call-workflow-ubuntu_aarch64, call-workflow-mac]
if: always() && (needs.call-workflow-ubuntu_x86.result == 'success') && (needs.call-workflow-ubuntu_aarch64.result == 'success') && ((needs.call-workflow-mac.result == 'success'))
Expand Down
15 changes: 2 additions & 13 deletions .github/workflows/release_linux_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,12 @@ name: LinuxRelease_aarch64

on: # Specifies the event triggering the workflow
workflow_call: # Indicates that this is a reusable workflow
inputs:
node:
required: true
type: string
inputs:
os:
required: true
type: string

# on:
# schedule:
# # Run weekly on Monday 00:00
# - cron: '00 00 * * MON'
# push:
# branches: [main, rel-*]
# pull_request:
# branches: [main, rel-*]
# workflow_dispatch:


permissions: # set top-level default permissions as security best practice
contents: read
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release_linux_x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ name: LinuxRelease_x86_64

on: # Specifies the event triggering the workflow
workflow_call: # Indicates that this is a reusable workflow
inputs:
node:
required: true
type: string
inputs:
os:
required: true
type: string
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ name: MacRelease
on: # Specifies the event triggering the workflow
workflow_call: # Indicates that this is a reusable workflow
inputs:
node:
required: true
type: string
os:
required: true
type: string
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ name: WindowsRelease

on: # Specifies the event triggering the workflow
workflow_call: # Indicates that this is a reusable workflow
inputs:
node:
required: true
type: string
inputs:
os:
required: true
type: string
Expand Down

0 comments on commit 4164b92

Please sign in to comment.