From e24950f87df1c2321b1b34b695bb44e717570515 Mon Sep 17 00:00:00 2001 From: San Kang Date: Tue, 19 Sep 2023 10:24:48 +0900 Subject: [PATCH] Add: GHA `release-zip.yml` --- .github/workflows/release-zip.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/release-zip.yml diff --git a/.github/workflows/release-zip.yml b/.github/workflows/release-zip.yml new file mode 100644 index 0000000..854bea3 --- /dev/null +++ b/.github/workflows/release-zip.yml @@ -0,0 +1,17 @@ +name: Create Archive +on: + push: + tags: [ "v*.*.*" ] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: Get version name + run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV + - name: Archive Release + uses: thedoctor0/zip-release@0.7.1 + with: + type: 'zip' + filename: '名工大学生掲示板アシスタント-${{ env.RELEASE_VERSION }}.zip' + exclusions: 'screenshots .gitignore'