Update r2s_lean_minimal.yml

This commit is contained in:
klever1988
2020-03-05 18:34:14 +08:00
committed by GitHub
parent 374153cc36
commit bd8a867c66

View File

@@ -5,7 +5,7 @@ on:
branches: branches:
- master - master
paths: paths:
- '.github/workflows/r2s_lean_minimal.yml' - '.github/workflows/r2s_lean_minimal.yml_'
schedule: schedule:
- cron: '10 08 * * *' - cron: '10 08 * * *'
@@ -174,7 +174,7 @@ jobs:
mv friendlywrt-rk3328/out/*img* ./artifact/ mv friendlywrt-rk3328/out/*img* ./artifact/
cp friendlywrt-rk3328/friendlywrt/.config ./artifact/ cp friendlywrt-rk3328/friendlywrt/.config ./artifact/
zip -r artifact.zip ./artifact/ zip -r artifact.zip ./artifact/
release_tag="R2S-Lean-$(date +%Y-%m-%d)-minimal" release_tag="R2S-Lean-$(date +%Y-%m-%d)-Minimal"
echo "##[set-output name=release_tag;]$release_tag" echo "##[set-output name=release_tag;]$release_tag"
- name: Create Release - name: Create Release
id: create_release id: create_release
@@ -183,7 +183,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.sec_token }} GITHUB_TOKEN: ${{ secrets.sec_token }}
with: with:
tag_name: ${{ steps.assemble_artifact.outputs.release_tag }} tag_name: ${{ steps.assemble_artifact.outputs.release_tag }}
release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }} minimal release_name: 自动发布 ${{ steps.assemble_artifact.outputs.release_tag }}
draft: false draft: false
prerelease: false prerelease: false
- name: Upload Release Asset - name: Upload Release Asset