-
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.
ci: move imgtool publishing to GH workflows
Disable imgtool publishing on Travis; update scripts to work on both Travis and GH; add GH workflow for publishing. Signed-off-by: Fabio Utzig <[email protected]>
- Loading branch information
Showing
3 changed files
with
36 additions
and
9 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,23 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
environment: | ||
name: Publish imgtool releases | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install publishing packages | ||
run: | | ||
export PATH="$HOME/.local/bin:$PATH" | ||
./ci/imgtool_install.sh | ||
- name: Publish imgtool | ||
env: | ||
TWINE_TOKEN: ${{ secrets.TWINE_TOKEN }} | ||
run: | | ||
export PATH="$HOME/.local/bin:$PATH" | ||
./ci/imgtool_run.sh |
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
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