mirror of
https://github.com/crazy-max/ghaction-upx.git
synced 2026-04-17 03:52:59 -06:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ea5068f0f | ||
|
|
d2071be44b | ||
|
|
4c4869581a | ||
|
|
8e8e4b8c59 | ||
|
|
03544b5b3e | ||
|
|
1412a4b386 | ||
|
|
58600ce61a |
46
.github/workflows/automerge.yml
vendored
Normal file
46
.github/workflows/automerge.yml
vendored
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
name: automerge
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- labeled
|
||||||
|
- unlabeled
|
||||||
|
- synchronize
|
||||||
|
- unlocked
|
||||||
|
check_suite:
|
||||||
|
types:
|
||||||
|
- completed
|
||||||
|
status: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dependabot:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: Approve
|
||||||
|
uses: actions/github-script@0.9.0
|
||||||
|
with:
|
||||||
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
script: |
|
||||||
|
await github.pulls.createReview({
|
||||||
|
owner: context.payload.repository.owner.login,
|
||||||
|
repo: context.payload.repository.name,
|
||||||
|
pull_number: context.payload.pull_request.number,
|
||||||
|
event: 'APPROVE'
|
||||||
|
})
|
||||||
|
-
|
||||||
|
name: Wait
|
||||||
|
run: sleep 3
|
||||||
|
-
|
||||||
|
name: Merge
|
||||||
|
uses: actions/github-script@0.9.0
|
||||||
|
with:
|
||||||
|
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
script: |
|
||||||
|
await github.pulls.merge({
|
||||||
|
owner: context.payload.repository.owner.login,
|
||||||
|
repo: context.payload.repository.name,
|
||||||
|
pull_number: context.payload.pull_request.number,
|
||||||
|
merge_method: 'squash'
|
||||||
|
})
|
||||||
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -17,12 +17,13 @@ jobs:
|
|||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
|
version:
|
||||||
|
- latest
|
||||||
|
- v3.95
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
version: latest
|
|
||||||
file: https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-linux-amd64
|
file: https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-linux-amd64
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
version: latest
|
|
||||||
file: https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-windows-4.0-amd64.exe
|
file: https://github.com/crazy-max/firefox-history-merger/releases/download/2.4.0/firefox-history-merger-windows-4.0-amd64.exe
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
|
|||||||
2
.github/workflows/labels.yml
vendored
2
.github/workflows/labels.yml
vendored
@@ -13,11 +13,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
# https://github.com/actions/checkout
|
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
# https://github.com/crazy-max/ghaction-github-labeler
|
|
||||||
name: Run Labeler
|
name: Run Labeler
|
||||||
if: success()
|
if: success()
|
||||||
uses: crazy-max/ghaction-github-labeler@v2
|
uses: crazy-max/ghaction-github-labeler@v2
|
||||||
|
|||||||
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -11,11 +11,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
# https://github.com/actions/checkout
|
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
# https://github.com/actions/setup-node
|
|
||||||
name: Set up Node
|
name: Set up Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
-
|
-
|
||||||
|
|||||||
1
.github/workflows/master.yml
vendored
1
.github/workflows/master.yml
vendored
@@ -10,7 +10,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
# https://github.com/actions/checkout
|
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -19,7 +19,6 @@ jobs:
|
|||||||
- windows-latest
|
- windows-latest
|
||||||
steps:
|
steps:
|
||||||
-
|
-
|
||||||
# https://github.com/actions/checkout
|
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
-
|
-
|
||||||
@@ -29,7 +28,6 @@ jobs:
|
|||||||
name: Test
|
name: Test
|
||||||
run: npm run test
|
run: npm run test
|
||||||
-
|
-
|
||||||
# https://github.com/codecov/codecov-action
|
|
||||||
name: Upload coverage
|
name: Upload coverage
|
||||||
uses: codecov/codecov-action@v1
|
uses: codecov/codecov-action@v1
|
||||||
if: success()
|
if: success()
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 1.3.2 (2020/05/11)
|
||||||
|
|
||||||
|
* Update README
|
||||||
|
|
||||||
## 1.3.1 (2020/05/07)
|
## 1.3.1 (2020/05/07)
|
||||||
|
|
||||||
* Code cleanup
|
* Code cleanup
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -40,11 +40,11 @@ jobs:
|
|||||||
|
|
||||||
Following inputs can be used as `step.with` keys
|
Following inputs can be used as `step.with` keys
|
||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
|---------------|---------|-----------|-------------------------------|
|
|---------------|---------|-----------|---------------------------------|
|
||||||
| `version` | String | `latest` | UPX version. Example: `v3.95` |
|
| `version` | String | `latest` | UPX version. Example: `v3.95` |
|
||||||
| `file` | String | | File to compress |
|
| `file` | String | | File to compress (**required**) |
|
||||||
| `args` | String | | Arguments to pass to UPX |
|
| `args` | String | | Arguments to pass to UPX |
|
||||||
|
|
||||||
## Limitation
|
## Limitation
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,13 @@ inputs:
|
|||||||
version:
|
version:
|
||||||
description: 'UPX version. Example: 3.95'
|
description: 'UPX version. Example: 3.95'
|
||||||
default: 'latest'
|
default: 'latest'
|
||||||
|
required: false
|
||||||
file:
|
file:
|
||||||
description: 'File to compress'
|
description: 'File to compress'
|
||||||
required: true
|
required: true
|
||||||
args:
|
args:
|
||||||
description: 'Arguments to pass to UPX'
|
description: 'Arguments to pass to UPX'
|
||||||
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: 'node12'
|
||||||
|
|||||||
6
package-lock.json
generated
6
package-lock.json
generated
@@ -4999,9 +4999,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ts-jest": {
|
"ts-jest": {
|
||||||
"version": "25.5.0",
|
"version": "25.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-25.5.0.tgz",
|
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-25.5.1.tgz",
|
||||||
"integrity": "sha512-govrjbOk1UEzcJ5cX5k8X8IUtFuP3lp3mrF3ZuKtCdAOQzdeCM7qualhb/U8s8SWFwEDutOqfF5PLkJ+oaYD4w==",
|
"integrity": "sha512-kHEUlZMK8fn8vkxDjwbHlxXRB9dHYpyzqKIGDNxbzs+Rz+ssNDSDNusEK8Fk/sDd4xE6iKoQLfFkFVaskmTJyw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"bs-logger": "0.x",
|
"bs-logger": "0.x",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
"jest-runtime": "^25.5.4",
|
"jest-runtime": "^25.5.4",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
"removeNPMAbsolutePaths": "^2.0.0",
|
"removeNPMAbsolutePaths": "^2.0.0",
|
||||||
"ts-jest": "^25.5.0",
|
"ts-jest": "^25.5.1",
|
||||||
"typescript": "^3.8.3",
|
"typescript": "^3.8.3",
|
||||||
"typescript-formatter": "^7.2.2"
|
"typescript-formatter": "^7.2.2"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user