summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-02-02 19:05:46 +0800
committerGitHub <noreply@github.com>2021-02-02 12:05:46 +0100
commit6abf126c2a7a451cded8c6b5e6ddf1b69c84055d (patch)
treefd94c013a19fcb38954844085821ec1601c20e18 /.github
parenta2b5d44f1aa9d64f448a2a3cc2001272e2f60b98 (diff)
chore: remove std directory (#9361)
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml22
1 files changed, 8 insertions, 14 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3d5b8a73e..05a850cbf 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -57,8 +57,7 @@ jobs:
startsWith(matrix.os, 'ubuntu') &&
matrix.kind == 'test_release' &&
github.repository == 'denoland/deno' &&
- startsWith(github.ref, 'refs/tags/') &&
- !startsWith(github.ref, 'refs/tags/std/')
+ startsWith(github.ref, 'refs/tags/')
run: |
mkdir -p target/release
tar --exclude=.cargo_home --exclude=".git*" --exclude=target --exclude=third_party/prebuilt -czvf target/release/deno_src.tar.gz -C .. deno
@@ -112,9 +111,8 @@ jobs:
runner.os != 'Windows' &&
matrix.kind == 'test_release' &&
github.repository == 'denoland/deno' &&
- (github.ref == 'refs/heads/master' ||
- startsWith(github.ref, 'refs/tags/') &&
- !startsWith(github.ref, 'refs/tags/std/'))
+ github.ref == 'refs/heads/master' ||
+ startsWith(github.ref, 'refs/tags/')
uses: google-github-actions/setup-gcloud@master
with:
project_id: denoland
@@ -126,9 +124,8 @@ jobs:
runner.os == 'Windows' &&
matrix.kind == 'test_release' &&
github.repository == 'denoland/deno' &&
- (github.ref == 'refs/heads/master' ||
- startsWith(github.ref, 'refs/tags/') &&
- !startsWith(github.ref, 'refs/tags/std/'))
+ github.ref == 'refs/heads/master' ||
+ startsWith(github.ref, 'refs/tags/')
uses: google-github-actions/setup-gcloud@master
env:
CLOUDSDK_PYTHON: ${{env.pythonLocation}}\python.exe
@@ -288,8 +285,7 @@ jobs:
runner.os != 'Windows' &&
matrix.kind == 'test_release' &&
github.repository == 'denoland/deno' &&
- startsWith(github.ref, 'refs/tags/') &&
- !startsWith(github.ref, 'refs/tags/std/')
+ startsWith(github.ref, 'refs/tags/')
run: |
gsutil cp ./target/release/*.zip gs://dl.deno.land/release/${GITHUB_REF#refs/*/}/
echo ${GITHUB_REF#refs/*/} > release-latest.txt
@@ -300,8 +296,7 @@ jobs:
runner.os == 'Windows' &&
matrix.kind == 'test_release' &&
github.repository == 'denoland/deno' &&
- startsWith(github.ref, 'refs/tags/') &&
- !startsWith(github.ref, 'refs/tags/std/')
+ startsWith(github.ref, 'refs/tags/')
env:
CLOUDSDK_PYTHON: ${{env.pythonLocation}}\python.exe
shell: bash
@@ -315,8 +310,7 @@ jobs:
if: |
matrix.kind == 'test_release' &&
github.repository == 'denoland/deno' &&
- startsWith(github.ref, 'refs/tags/') &&
- !startsWith(github.ref, 'refs/tags/std/')
+ startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: