Actually fix it i think

This commit is contained in:
mat 2022-11-19 23:19:59 -03:00 committed by GitHub
parent f7f59c8cb3
commit c6f62f3b68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,6 +110,12 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v2
- name: Get version
uses: juliangruber/read-file-action@v1.1.6
with:
path: ${{ github.workspace }}/VERSION
id: version
- uses: actions/download-artifact@v3
with:
@ -117,18 +123,18 @@ jobs:
- uses: vimtor/action-zip@v1
with:
files: Geode.dylib GeodeBootstrapper.dylib
dest: macOS.zip
files: geode-v${{ steps.version.outputs.content }}-mac/Geode.dylib geode-v${{ steps.version.outputs.content }}-mac/GeodeBootstrapper.dylib
dest: geode-nightly-mac.zip
- uses: vimtor/action-zip@v1
with:
files: Geode.dll GeodeBootstrapper.dll Geode.lib
dest: Windows.zip
files: geode-v${{ steps.version.outputs.content }}-win/Geode.dll geode-v${{ steps.version.outputs.content }}-win/GeodeBootstrapper.dll geode-v${{ steps.version.outputs.content }}-win/Geode.lib
dest: geode-nightly-win.zip
- name: Update release
uses: IsaacShelton/update-existing-release@v1.3.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
files: ./macOS.zip ./Windows.zip
files: ./geode-nightly-mac.zip ./geode-nightly-win.zip
release: Nightly
prerelease: true