[CI] Rewrite to use GitHub Releases

pull/36/head
CanadaHonk 3 years ago committed by GitHub
parent 53cb43b7c1
commit f366e5ef23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
name: Build GooseMod
name: Build And Release GooseMod Dev
on:
push:
@ -28,17 +28,11 @@ jobs:
- name: Build GooseMod
run: npm run build
- name: Stage build files
run: git add dist
- name: Commit build files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "(CI Chore) Update build [skip ci]" || true
- name: Push build commit
uses: ad-m/github-push-action@master
- uses: "marvinpinto/action-automatic-releases@latest"
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "dev"
prerelease: true
title: "GooseMod Dev"
files: |
dist/index.js

Loading…
Cancel
Save