Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
RadxaYuntian committed Jul 22, 2022
1 parent 54925a0 commit db5d17c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,18 @@ runs:
- name: Build
shell: bash
run: |
./lbuild -r ${{ inputs.revision }} ${{ inputs.fork }}
mkdir .output
pushd .output
../lbuild -r ${{ inputs.revision }} ${{ inputs.fork }}
popd
- name: Upload
if: inputs.release-id != '' && inputs.github-token != ''
uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
with:
release_id: ${{ inputs.release-id }}
file: .src/*.deb
file: .output/*
draft: false
- name: Rollback release
if: failure() && inputs.release-id != '' && inputs.github-token != ''
Expand Down

0 comments on commit db5d17c

Please sign in to comment.