mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
Publish source tarballs for releases (#3203)
This commit is contained in:
parent
dfcdc03152
commit
1a86264232
1 changed files with 7 additions and 0 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -36,6 +36,12 @@ jobs:
|
|||
fetch-depth: 1
|
||||
submodules: true
|
||||
|
||||
- name: Create source tarballs (release, linux)
|
||||
if: startsWith(matrix.os, 'ubuntu') && matrix.kind == 'test' && startsWith(github.ref, 'refs/tags/') && github.repository == 'denoland/deno'
|
||||
run: |
|
||||
mkdir -p target/release
|
||||
tar --exclude=".git*" --exclude=target --exclude=deno_typescript/typescript/tests --exclude=third_party/cpplint --exclude="third_party/node_modules/*" --exclude=third_party/python_packages --exclude=third_party/wrk -czvf target/release/deno_src.tar.gz -C .. deno
|
||||
|
||||
- name: Install rust
|
||||
uses: hecrj/setup-rust-action@v1
|
||||
with:
|
||||
|
@ -180,6 +186,7 @@ jobs:
|
|||
target/release/deno_win_x64.zip
|
||||
target/release/deno_linux_x64.gz
|
||||
target/release/deno_osx_x64.gz
|
||||
target/release/deno_src.tar.gz
|
||||
draft: true
|
||||
|
||||
- name: Stop sccache
|
||||
|
|
Loading…
Reference in a new issue