Skip to content

0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Sep 21:16
042fd93

馃帀 Features

  • BREAKING! rename commands to align with octokit command names.

    • setMask -> setSecret
    • setEnv -> exportVariable
    • setError -> error
    • setNotice -> notice
    • setWarning -> warning
  • Add a remote actions server to allow importing fully typed actions from https://act.deno.dev.

    import checkout from "https://act.deno.dev/actions/checkout@3.0.2";
    import {
      defineWorkflows,
      e,
      workflow,
    } from "https://deno.land/x/actionify@0.1.0/mod.ts";
    
    const checkoutStep = checkout((ctx) => ({
      repository: e.wrap(ctx.github.repository),
      ref: e.wrap(ctx.github.ref),
      token: e.wrap(ctx.github.token),
      lfs: true,
    })).env((ctx) => ({
      GITHUB_TOKEN: e.wrap(ctx.secrets.GITHUB_TOKEN),
    }));
    
    const ci = workflow({ name: "ci" })
      .on("push")
      .job("Explore-GitHub-Actions", (job) => job.step(checkoutStep));
    
    export default defineWorkflows({
      workflows: [ci],
    });

馃悰 Bug Fixes

  • Remove @octokit/core dependency which was adding 9mb to the bundle size. Now only import types.