Skip to content

Commit

Permalink
update release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Jan 21, 2021
1 parent 70f4fff commit 1fcea42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
Expand All @@ -23,14 +23,14 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Setup ENV
run: echo ::set-env name=TAG::$(echo ${GITHUB_REF:10})
run: echo "TAG=${GITHUB_REF:10}" >> $GITHUB_ENV
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Assemble jar with Gradle
Expand All @@ -42,7 +42,7 @@ jobs:
uses: AButler/upload-release-assets@v2.0
with:
release-tag: ${{ env.TAG }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ github.token }}
files: 'build/libs/*[!-dev].jar'
- name: Deploy to Onyx Maven
run: ./gradlew publish
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
org.gradle.jvmargs=-Xmx2560M
#General
# find latest versions at https://modmuss50.me/fabric.html
minecraft_version=1.16.5
Expand Down

0 comments on commit 1fcea42

Please sign in to comment.