mirror of
https://github.com/denoland/deno.git
synced 2025-03-04 01:44:26 -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
|
fetch-depth: 1
|
||||||
submodules: true
|
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
|
- name: Install rust
|
||||||
uses: hecrj/setup-rust-action@v1
|
uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
|
@ -180,6 +186,7 @@ jobs:
|
||||||
target/release/deno_win_x64.zip
|
target/release/deno_win_x64.zip
|
||||||
target/release/deno_linux_x64.gz
|
target/release/deno_linux_x64.gz
|
||||||
target/release/deno_osx_x64.gz
|
target/release/deno_osx_x64.gz
|
||||||
|
target/release/deno_src.tar.gz
|
||||||
draft: true
|
draft: true
|
||||||
|
|
||||||
- name: Stop sccache
|
- name: Stop sccache
|
||||||
|
|
Loading…
Add table
Reference in a new issue