Skip to content

Commit

Permalink
adjust release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Laux committed May 29, 2022
1 parent ef12743 commit a9e3708
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,9 @@ jobs:
run: |
wget https://github.com/webxdc/webxdc-dev/raw/master/create-xdc.sh
chmod +x create-xdc.sh
./create-xdc.sh ${{ github.event.repository.name }}
# This is just a little control flow hack. This ensures the correct file name is uploaded.
if [[ ${{ github.event.repository.name }} == *.xdc ]]
then
exit 1
fi
./create-xdc.sh
continue-on-error: true
- uses: ncipollo/release-action@v1
if: steps.build.outcome != 'success'
with:
artifacts: ${{ github.event.repository.name }}
- uses: ncipollo/release-action@v1
if: steps.build.outcome == 'success'
with:
artifacts: ${{ github.event.repository.name }}.xdc

0 comments on commit a9e3708

Please sign in to comment.