-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a10e59
commit d7c0980
Showing
2 changed files
with
32 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
|
||
on: | ||
workflow_call: | ||
inputs: | ||
arch: | ||
required: true | ||
type: string | ||
|
||
jobs: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build docker image | ||
run: docker build -t lmi-img:latest -f docker/Dockerfile_${{ inputs.arch }} . | ||
- name: Get binary from docker container | ||
run: | | ||
docker create --name lmi lmi-img:latest | ||
docker cp lmi:/root/.cargo/bin/lilypond-midi-input lilypond-midi-input_${{ inputs.arch }} | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: lmi-${{ inputs.arch }} | ||
path: | | ||
lilypond-midi-input_${{ inputs.arch }} | ||
changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters