-
-
Notifications
You must be signed in to change notification settings - Fork 5
35 lines (30 loc) · 882 Bytes
/
Tag.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
name: Tag
on:
push:
tags:
- '*.*.*'
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