Skip to content

Commit

Permalink
Maybe final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StupidRepo committed Jul 16, 2023
1 parent b1911e3 commit e50283e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/buildandupload.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
name: Build & Upload
on: [workflow_dispatch]
on:
workflow_dispatch:
inputs:
Version:
description: 'Version number for release'
required: true
default: '0.0'

jobs:
universalBuild:
runs-on: ubuntu-latest
Expand All @@ -8,16 +15,16 @@ jobs:
uses: actions/checkout@v3

- name: Build
run: ls ../ && ls ./ && ./gradlew build
run: ./gradlew build

- name: Make Release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref }}
release_name: v${{ github.event.inputs.Version }}
tag_name: v${{ github.event.inputs.Version }}
body_path: CHANGELOG.md
env:
GITHUB_TOKEN: ${{ github.token }}
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changes
All notable changes to this project will be documented in `CHANGELOG.md`.
## Added
None
## Modified
* Fixed the GitHub Workflow.
## Removed
None

0 comments on commit e50283e

Please sign in to comment.