Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Utilize build.yaml from release.yaml to generate new artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
emesare authored Feb 23, 2024
1 parent 883a94a commit be85479
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Build

on:
workflow_call:
push:
pull_request:
branches:
Expand All @@ -14,11 +15,9 @@ jobs:
strategy:
matrix:
api-version:
- name: older-dev
ref: e1542ed05f3f8c273206bb9ead8d39fea87430bb
- ref: e1542ed05f3f8c273206bb9ead8d39fea87430bb
abi: 49
- name: dev
ref: dev
- ref: dev
abi: 51
platform:
- name: ubuntu
Expand Down Expand Up @@ -53,6 +52,6 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: lib-${{matrix.platform.name}}-${{matrix.api-version.name}}${{matrix.api-version.abi}}
name: lib-${{matrix.platform.name}}-${{matrix.api-version.abi}}
path: ${{github.workspace}}${{matrix.platform.binary}}
if-no-files-found: error
9 changes: 3 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,10 @@ jobs:
permissions:
contents: write
steps:
- uses: dawidd6/action-download-artifact@v3
- uses: .github/workflows/build.yaml
- uses: actions/download-artifact@v4
with:
workflow: build.yml
workflow_conclusion: completed
if_no_artifact_found: fail
branch: master
allow_forks: false
merge-multiple: true
- name: Create release
uses: ncipollo/release-action@v1
with:
Expand Down

0 comments on commit be85479

Please sign in to comment.