Skip to content

Commit

Permalink
ci(ship): use maximousblk/setup-deno@main
Browse files Browse the repository at this point in the history
  • Loading branch information
maximousblk committed Jun 22, 2021
1 parent 3d1a86c commit 8feeaba
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/ship.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,14 @@ on:
required: true

jobs:
release:
build:
if: github.event.inputs
runs-on: ubuntu-latest
timeout-minutes: 20

outputs:
commit: ${{ steps.commit.outputs.hash }}

steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand All @@ -25,12 +28,7 @@ jobs:
with:
node-version: 12

- name: Setup Deno
uses: denolib/setup-deno@v2 # the irony...
with:
deno-version: v1.11.2

- name: Install dependencies
- name: Install Dependencies
run: yarn install

- name: Build
Expand All @@ -46,6 +44,21 @@ jobs:
id: commit
run: echo "::set-output name=hash::$(git rev-parse HEAD)"

release:
if: github.event.inputs
needs: build
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Setup Deno
uses: maximousblk/setup-deno@main
with:
deno-version: v1.11.2

- name: Generate Release Notes
run: deno run -A https://deno.land/x/ghlog/ghlog.ts ${{ github.repository }} -v '${{ github.event.inputs.tag }}'

Expand Down

0 comments on commit 8feeaba

Please sign in to comment.