cron-converter-u2q 0.1.13-alpha → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +20 -7
- package/README.md +1 -0
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ on:
|
|
|
6
6
|
- completed
|
|
7
7
|
jobs:
|
|
8
8
|
release:
|
|
9
|
+
permissions: write-all
|
|
9
10
|
runs-on: ubuntu-latest
|
|
10
11
|
steps:
|
|
11
12
|
- uses: actions/checkout@v3
|
|
@@ -28,15 +29,27 @@ jobs:
|
|
|
28
29
|
- name: Package NPM tarball
|
|
29
30
|
run: npm pack
|
|
30
31
|
|
|
31
|
-
- name: Debug GitHub event
|
|
32
|
-
|
|
32
|
+
# - name: Debug GitHub event
|
|
33
|
+
# run: echo "${{ toJson(github.event.release) }}"
|
|
33
34
|
|
|
34
|
-
- name:
|
|
35
|
+
- name: Create Release
|
|
36
|
+
id: create_release
|
|
37
|
+
uses: actions/create-release@v1
|
|
38
|
+
env:
|
|
39
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
40
|
+
with:
|
|
41
|
+
tag_name: ${{ steps.pkgver.outputs.version }}
|
|
42
|
+
release_name: Release ${{ steps.pkgver.outputs.version }}
|
|
43
|
+
draft: false
|
|
44
|
+
prerelease: false
|
|
45
|
+
|
|
46
|
+
- name: Upload Release Asset
|
|
47
|
+
id: upload-release-asset
|
|
35
48
|
uses: actions/upload-release-asset@v1
|
|
49
|
+
env:
|
|
50
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
36
51
|
with:
|
|
37
|
-
|
|
38
|
-
asset_path: ./your-package-name-${{ steps.pkgver.outputs.version }}.tgz
|
|
52
|
+
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`.
|
|
53
|
+
# asset_path: ./your-package-name-${{ steps.pkgver.outputs.version }}.tgz
|
|
39
54
|
asset_name: your-package-name-${{ steps.pkgver.outputs.version }}.tgz
|
|
40
55
|
asset_content_type: application/gzip
|
|
41
|
-
env:
|
|
42
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Easily convert cron expressions between Unix and Quartz formats with the `cron-converter-u2q` package
|
|
4
4
|
|
|
5
5
|

|
|
6
|
+

|
|
6
7
|
[](https://www.npmjs.com/package/cron-converter-u2q)
|
|
7
8
|
|
|
8
9
|
### Features
|