Skip to content

Commit

Permalink
fix docker workflow maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Oct 19, 2023
1 parent e0d0d9d commit bc90d66
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,5 @@ jobs:
password: ${{ github.token }}
- uses: docker/build-push-action@v5
with:
tags: v4
file: ./Dockerfile
tags: ${{ github.repository }}:v4
push: true
1 change: 0 additions & 1 deletion source/metrics/engine/components_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ async function getPermissions(test: Awaited<ReturnType<typeof Component["prototy
components.add(`processors/${id}`)
}
}
Logger.raw
await Promise.all([...components].map((id) => Component.load({ id }).then((component) => component.permissions.forEach((permission) => requested.add(permission)))))

// Compute permissions
Expand Down
8 changes: 5 additions & 3 deletions source/run/cli/compat.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// deno-lint-ignore-file no-explicit-any no-unused-vars
import { env } from "@utils/io.ts"
import core from "y/@actions/[email protected]"
//import { env } from "@utils/io.ts"
//import core from "y/@actions/[email protected]"

type compat = any

Expand Down Expand Up @@ -37,9 +37,11 @@ export function compat(inputs: compat) {

// 📅 Isometric commit calendar
if (to.boolean(inputs.plugin_isocalendar)) {
deprecated(`<plugin_isocalendar> is deprecated, use <calendar> plugin with <calendar.view: isometric>`)
deprecated(`"plugin_isocalendar" is deprecated, use "{plugins:{calendar:{view:isometric}}}"`)
const duration = { "half-year": "last-180-days", "full-year": "last-365-days" }[inputs.plugin_isocalendar_duration as string] ?? "last-180-days"
deprecated(`<plugin_isocalendar_duration> is deprecated, use <calendar> plugin with <calendar.range: ${duration}>`)
config.plugins.push({ calendar: { view: "isometric", duration } })
}

return config
}

0 comments on commit bc90d66

Please sign in to comment.