Skip to content

Commit

Permalink
Change workflow to use makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeSchapp committed Oct 2, 2022
1 parent e4443ae commit ab00d2f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/.releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@semantic-release/release-notes-generator",
["@semantic-release/github", {
"assets": [
{"path": "firmware/release.zip", "label": "BabyScout Firmware"}
{"path": "dist/firmware/release.zip", "label": "BabyScout Firmware"}
]
}]
],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:
eval "$(pyenv init -)"
pyenv install micropython-1.19.1
pyenv local micropython-1.19.1
micropython -m upip install -r requirements.txt -p 'firmware/'
make dist
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: 'zip'
directory: 'firmware/'
directory: 'dist/firmware/'
filename: 'release.zip'
- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
eval "$(pyenv init -)"
pyenv install micropython-1.19.1
pyenv local micropython-1.19.1
micropython -m upip install -r requirements.txt -p 'firmware/'
make dist
- name: Setup Python 3.10
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit ab00d2f

Please sign in to comment.