-
-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (34 loc) · 950 Bytes
/
Compress.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
name: Compress
on:
push:
branches:
- main
- '0\.*\.*'
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: "Compress Source Code"
if: true
uses: master-atul/tar-action@v1.0.2
with:
command: c
cwd: "./"
files: "three_body_e2021"
outPath: "${{ runner.temp }}/3body-lang-${{ steps.vars.outputs.sha_short }}.tar.gz"
- name: "Release Source Code"
uses: pragmatrix/release-action@exp
with:
owner: rustq
repo: 3body-lang
tag: ${{ env.RELEASE_VERSION }}
allowUpdates: true
replacesArtifacts: true
artifacts: "${{ runner.temp }}/3body-lang-${{ steps.vars.outputs.sha_short }}.tar.gz"
artifactErrorsFailBuild: true
token: ${{ secrets.GITHUB_TOKEN }}
prerelease: true