Skip to content

Commit

Permalink
Обновил версию actions/upload-artifact (#39)
Browse files Browse the repository at this point in the history
* upgrade actions
  • Loading branch information
itanka9 authored Sep 26, 2024
1 parent 8613a01 commit e26d2ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build container and run tests
run: docker-compose up --build --exit-code-from test test
- uses: actions/upload-artifact@v2
run: docker compose up --build --exit-code-from test test
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
path: test/screenshots/standards/**/__diff_output__/*.png
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
name: Test MapGL Ruler Plugin

on:
pull_request:
push:
branches:
- '*'
- 'master'
tags-ignore:
- '*'

Expand All @@ -25,8 +26,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build container and run tests
run: docker-compose up --build --exit-code-from test test
- uses: actions/upload-artifact@v2
run: docker compose up --build --exit-code-from test test
- uses: actions/upload-artifact@v4
if: ${{ failure() }}
with:
path: test/screenshots/standards/**/__diff_output__/*.png
Expand Down
7 changes: 2 additions & 5 deletions src/joint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,8 @@ export class Joint extends Evented<EventTable> {
distance: number,
enableOnInit,
private showLabel: boolean,
private renderCustomMarker: JointFactory = (
map,
coordinates,
{ isFirst, interactive },
) => createHtmlMarker(map, coordinates, { big: isFirst, interactive }),
private renderCustomMarker: JointFactory = (map, coordinates, { isFirst, interactive }) =>
createHtmlMarker(map, coordinates, { big: isFirst, interactive }),
) {
super();
this.id = ++lastId;
Expand Down

0 comments on commit e26d2ed

Please sign in to comment.