From f1b3170bb9ffe3218927871599a696190f55c016 Mon Sep 17 00:00:00 2001 From: halvardssm Date: Thu, 6 Aug 2020 13:22:14 +0200 Subject: [PATCH] updated nest ci --- .github/workflows/publish_nest.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish_nest.yml b/.github/workflows/publish_nest.yml index 4a6a505..559e027 100644 --- a/.github/workflows/publish_nest.yml +++ b/.github/workflows/publish_nest.yml @@ -12,16 +12,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: denolib/setup-deno@master with: deno-version: ${{env.DENO_VERSION}} - - name: Install Nest - run: deno install -A -f --unstable -n eggs https://x.nest.land/eggs@0.2.1/mod.ts - - name: Export path - run: export PATH="/home/runner/.deno/bin:$PATH" - - name: Upgrade Eggs - run: eggs upgrade - - name: Link API key - run: eggs link --key ${{ secrets.NESTAPIKEY }} - - name: Publish to Nest - run: eggs publish + + - name: Publish module + run: | + deno run -A --unstable https://x.nest.land/eggs@0.2.1/mod.ts link ${{ secrets.NESTAPIKEY }} + deno run -A --unstable https://x.nest.land/eggs@0.2.1/mod.ts publish