Skip to content

Commit

Permalink
drop update to release
Browse files Browse the repository at this point in the history
  • Loading branch information
0312birdzhang authored Apr 4, 2023
1 parent fe9c122 commit a27bdbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
25 changes: 4 additions & 21 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,25 +79,8 @@ jobs:
bash -x package.sh
shell: bash


- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.MySecret }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.MySecret }}
- name: Upload flashable zip
uses: actions/upload-artifact@master
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: /home/runner/work/${{env.FLASHABLE_DIR}}.zip
asset_name: ${{env.FLASHABLE_DIR}}.zip
asset_content_type: application/zip
name: ${{env.FLASHABLE_DIR}}.zip
path: /home/runner/work/${{env.FLASHABLE_DIR}}.zip
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# ci
Use github-actions build ubports


## GITHUB_TOKEN

Follow https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets

0 comments on commit a27bdbd

Please sign in to comment.