-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (26 loc) · 819 Bytes
/
zip.yml
File metadata and controls
32 lines (26 loc) · 819 Bytes
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
name: ZIP
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: extract_branch
- name: Extract commit ish
shell: bash
run: echo "##[set-output name=ish;]$(echo ${GITHUB_SHA::7})"
id: extract_ish
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
with:
# Artifact name
name: unity-extras-${{ steps.extract_branch.outputs.branch }}-${{ steps.extract_ish.outputs.ish }}.${{ github.run_id }}
# A file, directory or wildcard pattern that describes what to upload
path: |
assets/**
LICENSE.md
pack.mcmeta
pack.png