From 216db8bbee641fe52b96adce4ea801182a76d242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=98=E8=8F=98?= Date: Wed, 17 Mar 2021 22:42:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=BE=A9=E7=99=BC=E9=80=81PR=E6=99=82?= =?UTF-8?q?=E9=80=A0=E6=88=90=E7=9A=84Bug=20(Github=20=20Actions)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/blank.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index f39f92358..0b0da122e 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -1,28 +1,17 @@ -# This is a basic workflow to help you get started with Actions name: CI -# Controls when the action will run. on: - # Triggers the workflow on push or pull request events but only for the main branch push: branches: [ main ] - pull_request: - branches: [ main ] - - # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: -# A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: - # This workflow contains a single job called "build" build: - # The type of runner that the job will run on runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 - uses: papeloto/action-zip@v1 #zipped file 1.15.2 @@ -41,7 +30,7 @@ jobs: file: ${{ github.workspace }}/zh_tw-Lang-Pack+Snapshot-1.15.2-${{ github.run_number }}.zip asset_name: zh_tw-Lang-Pack+Snapshot-1.15.2-${{ github.run_number }}.zip overwrite: true - body: "模組繁體中文資源包 快照版本:${{ github.run_number }}發布囉!\n下載教學:\n![test](https://media.discordapp.net/attachments/808603449285410846/811837383301529610/unknown.png)\n看到下方的Assets把選單打開,接著找到您要下載的版本點下去就可以下載囉!!!" + body: "模組繁體中文資源包 快照版本:${{ github.run_number }}發布囉!\n更新內容: [${{ github.event.head_commit.message }}](https://github.com/chesterccj305/Mods-zh_tw-Lang-Pack/commit/${{ github.sha }})\n看到下方的Assets把選單打開,接著找到您要下載的版本點下去就可以下載囉!!!" - name: Upload 1.12.2 release uses: svenstaro/upload-release-action@v2 with: