Skip to content

Commit

Permalink
Create pre-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zzeneg authored Jan 21, 2024
1 parent 62fc636 commit fefb702
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
name: "pre-release"

on:
push:
branches: [ "main" ]

jobs:
pre-release:
name: "Build and Publish"
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Install cargo-make
uses: actions-rs/cargo@v1
with:
command: install
args: --debug cargo-make

- name: Publish to dist
uses: actions-rs/cargo@v1
with:
command: make
args: dist

- name: Create Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Latest Build"
files: |
LICENSE.txt
*.jar

0 comments on commit fefb702

Please sign in to comment.