This commit is contained in:
parent
57532f44ac
commit
00d7c596e5
|
@ -6,13 +6,13 @@ jobs:
|
||||||
os: [windows, macos, ubuntu]
|
os: [windows, macos, ubuntu]
|
||||||
include:
|
include:
|
||||||
- os: windows
|
- os: windows
|
||||||
build: npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "Kill the Newsletter--windows--${{ github.sha }}.exe"
|
build: npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "kill-the-newsletter--windows--${{ github.sha }}.exe"
|
||||||
artifact: Kill the Newsletter--windows--${{ github.sha }}.exe
|
artifact: kill-the-newsletter--windows--${{ github.sha }}.exe
|
||||||
- os: macos
|
- os: macos
|
||||||
build: |
|
build: |
|
||||||
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "Kill the Newsletter.app"
|
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "kill-the-newsletter"
|
||||||
tar -czf "Kill the Newsletter--macos--${{ github.sha }}.app.tgz" "Kill the Newsletter.app"
|
tar -czf "kill-the-newsletter--macos--${{ github.sha }}.tgz" "kill-the-newsletter"
|
||||||
artifact: Kill the Newsletter--macos--${{ github.sha }}.app.tgz
|
artifact: kill-the-newsletter--macos--${{ github.sha }}.tgz
|
||||||
- os: ubuntu
|
- os: ubuntu
|
||||||
build: |
|
build: |
|
||||||
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "kill-the-newsletter"
|
npx caxa --directory . --command "{{caxa}}/node_modules/.bin/node" "{{caxa}}/lib/index.js" --output "kill-the-newsletter"
|
||||||
|
@ -97,10 +97,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Kill the Newsletter--windows--${{ github.sha }}.exe
|
name: kill-the-newsletter--windows--${{ github.sha }}.exe
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: Kill the Newsletter--macos--${{ github.sha }}.app.tgz
|
name: kill-the-newsletter--macos--${{ github.sha }}.tgz
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: kill-the-newsletter--linux--${{ github.sha }}.tgz
|
name: kill-the-newsletter--linux--${{ github.sha }}.tgz
|
||||||
|
@ -118,16 +118,16 @@ jobs:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create-release.outputs.upload_url }}
|
upload_url: ${{ steps.create-release.outputs.upload_url }}
|
||||||
asset_path: Kill the Newsletter--windows--${{ github.sha }}.exe
|
asset_path: kill-the-newsletter--windows--${{ github.sha }}.exe
|
||||||
asset_name: Kill the Newsletter--windows--${{ steps.tag.outputs.tag }}.exe
|
asset_name: kill-the-newsletter--windows--${{ steps.tag.outputs.tag }}.exe
|
||||||
asset_content_type: application/vnd.microsoft.portable-executable
|
asset_content_type: application/vnd.microsoft.portable-executable
|
||||||
- uses: actions/upload-release-asset@v1
|
- uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
upload_url: ${{ steps.create-release.outputs.upload_url }}
|
upload_url: ${{ steps.create-release.outputs.upload_url }}
|
||||||
asset_path: Kill the Newsletter--macos--${{ github.sha }}.app.tgz
|
asset_path: kill-the-newsletter--macos--${{ github.sha }}.tgz
|
||||||
asset_name: Kill the Newsletter--macos--${{ steps.tag.outputs.tag }}.app.tgz
|
asset_name: kill-the-newsletter--macos--${{ steps.tag.outputs.tag }}.tgz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
- uses: actions/upload-release-asset@v1
|
- uses: actions/upload-release-asset@v1
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue