Skip to content

Commit c08ea2a

Browse files
add GitHubActions
1 parent caa345d commit c08ea2a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/result.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CreateResult
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
creategif:
8+
name: build-and-test
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Build Docker Image
13+
run: make
14+
- name: creategif
15+
run: docker-compose run --rm julia julia demo.jl
16+
- name: upload result to release page
17+
uses: ncipollo/release-action@v1
18+
with:
19+
allowUpdates: true
20+
omitBodyDuringUpdate: true
21+
tag: result/latest
22+
artifacts: result.gif
23+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)