-
Notifications
You must be signed in to change notification settings - Fork 47
41 lines (31 loc) · 998 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# This is a basic workflow to help you get started with Actions
name: Release
on:
push:
tags:
- "v*.*.*"
# A workflow that zip the source code and upload it as a release asset.
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Zip source code
run: zip -r resume-ng-zh.zip .
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: resume-ng-zh.zip
- name: Checkout
uses: actions/checkout@v4
with:
ref: english
- name: Zip source code
run: zip -r resume-ng-en.zip .
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: resume-ng-en.zip