Skip to content

Commit

Permalink
feat: use drawio-export 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rlespinasse authored Jul 26, 2022
1 parent 6e5fb89 commit d97b69c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/drawio-export-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
group: drawio-export-action-os-testing-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Verify // it's a force-push commit on a push event?
run: echo "::notice ::This is a force-push commit, some tests are desactivated because of it."
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
group: drawio-export-action-os-testing-with-full-clone-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
concurrency:
group: drawio-export-action-release-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Release this GitHub Action
uses: rlespinasse/release-that@v1
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Lint
on:
push:
branches:
- v1.x
- v2.x
pull_request:
concurrency:
group: linter-${{ github.ref }}
Expand All @@ -12,12 +12,12 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
LINTER_RULES_PATH: .
DEFAULT_BRANCH: v1.x
DEFAULT_BRANCH: v2.x
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rlespinasse/drawio-export:4.3.0
FROM rlespinasse/drawio-export:4.4.0
RUN apt-get update && apt-get install --no-install-recommends -y git=1:2.20.1-2+deb10u3 && rm -rf /var/lib/apt/lists/*
COPY drawio-export.sh /opt/drawio-export-action/drawio-export.sh
ENV DRAWIO_DESKTOP_RUNNER_COMMAND_LINE "/opt/drawio-export-action/drawio-export.sh"
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -46,7 +46,7 @@ jobs:
output: drawio-assets
- name: Get author and committer info from HEAD commit
uses: rlespinasse/git-commit-data-action@v1.x
uses: rlespinasse/git-commit-data-action@v1
if: github.ref == 'refs/heads/main'
- name: Commit changed files
Expand All @@ -69,7 +69,7 @@ Path to the drawio files to export. Default `"."`.

Exported format. Default `"pdf"`.

Possible values: adoc, jpg, pdf, png, svg, vsdx, xml
Possible values: adoc, md, jpg, pdf, png, svg, vsdx, xml

### `output`

Expand Down Expand Up @@ -134,7 +134,7 @@ Possible values:
CAUTION: When using a mode other than `all`, you need to checkout all the history.

```yaml
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
```
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
required: false
default: "."
format:
description: "Exported format [default: pdf] [possible values: adoc, jpg, pdf, png, svg, vsdx, xml]"
description: "Exported format [default: pdf] [possible values: adoc, md, jpg, pdf, png, svg, vsdx, xml]"
required: false
default: "pdf"
output:
Expand Down

0 comments on commit d97b69c

Please sign in to comment.