Skip to content

Commit

Permalink
Update xm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dimerr authored Jun 20, 2021
1 parent 125f37d commit 7ff2009
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions .github/workflows/xm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: setenv
run: |
TAG_NAME="latest"
RELEASE_NAME="Test Build"
PRERELEASE=true
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
echo "RELEASE_NAME=$RELEASE_NAME" >> $GITHUB_ENV
echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV
- name: Install dependencies
run: sudo apt-get install u-boot-tools zip
- name: Checkout
Expand All @@ -45,5 +53,21 @@ jobs:
SOC="hi3516ev200" TOTALMEM="64M" HARDWARE="HI3516EV200_85H30AI_S38" DEVID="000559B0" FLASH_SIZE="0x800000" $RUN
SOC="hi3516ev200" TOTALMEM="64M" HARDWARE="HI3516EV200_85HF30T_S38" DEVID="000559CD" FLASH_SIZE="0x800000" $RUN
SOC="hi3516ev300" TOTALMEM="128M" HARDWARE="HI3516EV300_85H50AI" DEVID="000529B2" FLASH_SIZE="0x1000000" $RUN
- name: step3
run: ls -la
- name: Create release
uses: actions/create-release@v1
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.TAG_NAME }}
release_name: ${{ env.RELEASE_NAME }}
draft: false
prerelease: ${{ env.PRERELEASE }}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: "out/*"
asset_name: "XM"
tag: ${{ env.TAG_NAME }}
overwrite: true

0 comments on commit 7ff2009

Please sign in to comment.