Update r1s_lienol.yml
This commit is contained in:
7
.github/workflows/r1s_lienol.yml
vendored
7
.github/workflows/r1s_lienol.yml
vendored
@@ -78,7 +78,8 @@ jobs:
|
||||
git config --local user.email "action@github.com" && git config --local user.name "GitHub Action"
|
||||
git remote add upstream https://github.com/Lienol/openwrt && git fetch upstream
|
||||
git checkout upstream/dev-19.07 -b tmp
|
||||
git revert --no-edit 2202533d29c1494ad5645f87a7429e70f85a0110
|
||||
#git revert --no-edit 2202533d29c1494ad5645f87a7429e70f85a0110
|
||||
sed -i '/ucl upx/d' tools/Makefile
|
||||
git mv README.md README && git commit -m 'undo rename readme for rebasing'
|
||||
git checkout origin/master-v19.07.1
|
||||
git rebase adc1a9a3676b8d7be1b48b5aed185a94d8e42728^ --onto tmp -X theirs
|
||||
@@ -115,7 +116,7 @@ jobs:
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
with:
|
||||
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
|
||||
@@ -125,7 +126,7 @@ jobs:
|
||||
id: upload-release-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.sec_token }}
|
||||
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: ./artifact.zip
|
||||
|
||||
Reference in New Issue
Block a user