This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
unmaintained note #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'release' | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
nightly-merge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '16.x' | |
- name: get-npm-version | |
id: package-version | |
uses: martinbeentjes/npm-get-version-action@main | |
- name: create executable | |
id: create-executable | |
run: exec npm run package | |
- name: upload build | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: v${{ steps.package-version.outputs.current-version}}-${{ github.run_number }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
tag_name: v${{ steps.package-version.outputs.current-version}}-${{ github.run_number }} | |
files: | | |
./build/daplaya-win32-x64.zip | |
./build/daplaya-darwin-x64.zip | |
./build/daplaya-linux-x64.zip |