Skip to content

Commit

Permalink
Merge branch 'main' into releases/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Oct 6, 2023
2 parents 953d19c + 6ab0041 commit a75a747
Show file tree
Hide file tree
Showing 9 changed files with 887 additions and 791 deletions.
7 changes: 5 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,12 @@ updates:
interval: "daily"
open-pull-requests-limit: 10
ignore:
# update too often, ignore patch releases
- dependency-name: "@types/node"
update-types: ["version-update:semver-patch"]
update-types:
# major version must sync with nodejs version
- "version-update:semver-major"
# update too often, ignore patch releases
- "version-update:semver-patch"

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- uses: reviewdog/action-eslint@v1
Expand All @@ -21,5 +21,5 @@ jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
steps:
- name: disable auto CRLF
run: git config --global core.autoCRLF false
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- run: npm run build
Expand All @@ -48,10 +48,10 @@ jobs:
outputs:
id: ${{ steps.create_release.outputs.id }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "16.x"
node-version-file: .node-version
cache: 'npm'
- run: npm ci
- run: npm run build
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20.6.0
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# steps for building assets
- run: echo "REPLACE ME!" > assets.txt
Expand All @@ -55,7 +55,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# steps for building assets
- run: echo "REPLACE ME!" > assets.txt
Expand Down
28 changes: 14 additions & 14 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
name: 'Yet Another Upload Release Asset Action'
description: 'Yet Another Upload Release Asset Action'
author: 'Ichinose Shogo'
name: "Yet Another Upload Release Asset Action"
description: "Yet Another Upload Release Asset Action"
author: "Ichinose Shogo"
inputs:
github_token:
description: 'The API token for GitHub'
description: "The API token for GitHub"
required: true
default: "${{ github.token }}"
upload_url:
description: 'The URL for uploading assets to the release'
description: "The URL for uploading assets to the release"
required: true
asset_path:
description: 'The path to the asset you want to upload'
description: "The path to the asset you want to upload"
required: true
asset_name:
description: 'The name of the asset you want to upload'
description: "The name of the asset you want to upload"
required: false
asset_content_type:
description: 'The content-type of the asset you want to upload. See the supported Media Types here: https://www.iana.org/assignments/media-types/media-types.xhtml for more information'
description: "The content-type of the asset you want to upload. See the supported Media Types here: https://www.iana.org/assignments/media-types/media-types.xhtml for more information"
required: false
overwrite:
description: 'If an asset with the same name already exists, overwrite it (Default: false)'
description: "If an asset with the same name already exists, overwrite it (Default: false)"
required: false
default: false
outputs:
browser_download_url:
description: 'The URL users can navigate to in order to download the uploaded asset'
description: "The URL users can navigate to in order to download the uploaded asset"
runs:
using: 'node16'
main: 'dist/index.js'
using: "node20"
main: "dist/index.js"
branding:
icon: 'package'
color: 'gray-dark'
icon: "package"
color: "gray-dark"
Loading

0 comments on commit a75a747

Please sign in to comment.