-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (33 loc) · 957 Bytes
/
zip_release.yaml
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
name: zip-release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repo and submodules
uses: actions/checkout@master
with:
submodules: recursive
- name: Download Julia
uses: wei/wget@v1
with:
args: -O julia.zip https://julialang-s3.julialang.org/bin/winnt/x64/1.10/julia-1.10.0-win64.zip
- name: Unzip Julia
run: 7z x -osrc julia.zip && rm julia.zip
- name: Compress Release
uses: thedoctor0/[email protected]
with:
type: 'zip'
directory: 'src'
filename: 'circuitscape-arc-pro-${{ github.ref_name}}.zip'
exclusions: "*.git/* *.github/*"
- name: Upload Release
uses: ncipollo/[email protected]
with:
artifacts: "src/circuitscape-arc-pro-${{ github.ref_name}}.zip"
token: ${{ secrets.GITHUB_TOKEN }}