--
This commit is contained in:
parent
f39435df57
commit
74ecf0e248
1 changed files with 10 additions and 3 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -27,9 +27,6 @@ jobs:
|
|||
release_name: Prerelease ${{ github.run_id }}-${{ github.run_attempt }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
- name: Store Release ID
|
||||
run: |
|
||||
echo "{release_id}={steps.create_release.outputs.id}" >> $GITHUB_ENV
|
||||
|
||||
build:
|
||||
needs: [prebuild]
|
||||
|
|
@ -52,6 +49,16 @@ jobs:
|
|||
- name: Build with PyInstaller
|
||||
run: |
|
||||
pyinstaller -D -F -n generate -c -n MOTD-${{matrix.os}} ./generate.py
|
||||
- name: Get Newest Release Created
|
||||
id: latest_release
|
||||
uses: pozetroninc/github-action-get-latest-release@master
|
||||
with:
|
||||
owner: oitsjustjose
|
||||
repo: MinecraftOreTextureGenerator
|
||||
excludes: draft
|
||||
- name: Put Newest Release in Environment
|
||||
run: |
|
||||
echo "{release_id}={steps.latest_release.outputs.id}" >> $GITHUB_ENV
|
||||
- name: Create Release
|
||||
uses: actions/github-script@v2
|
||||
with:
|
||||
|
|
|
|||
Loading…
Reference in a new issue