Skip to content

Commit

Permalink
Test release
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorton06 committed May 2, 2022
1 parent d684ad1 commit eed878c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 29 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1 @@
name: Create release

# When a tag is pushed, create a release
on:
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@master
with:
fetch-depth: 0 # Fetch all tags

- name: Create Release for Tag
id: release_tag
uses: Akryum/release-tag@conventional
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
preset: angular # Use conventional-changelog preset
36 changes: 32 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,14 @@ jobs:
with:
name: LinuxOutput
path: bin/
if-no-files-found: error
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MacOS:
runs-on: macOS-latest
steps:
Expand All @@ -47,7 +54,14 @@ jobs:
with:
name: MacOutput
path: bin/
if-no-files-found: error
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

iOS:
runs-on: macOS-latest
Expand All @@ -69,7 +83,14 @@ jobs:
with:
name: IOSOutput
path: bin/
if-no-files-found: error
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Windows:
runs-on: windows-2019
Expand Down Expand Up @@ -99,5 +120,12 @@ jobs:
with:
name: WindowsOutput
path: bin/
if-no-files-found: error
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: bin/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit eed878c

Please sign in to comment.