From 46f9a596f6d93bc7ae581cfb0547d53e4b5d3623 Mon Sep 17 00:00:00 2001 From: AndreiM Date: Thu, 2 Jan 2025 10:52:09 -0500 Subject: [PATCH] Test 2 --- .github/workflows/docker-image.yml | 44 ++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index efda8f3..20cae36 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -27,7 +27,7 @@ jobs: with: script: | const timestamp = new Date().toISOString().replace(/[-:]/g, '').replace(/\..+/, ''); - const tag = `release-${timestamp}`; + const tag = `JukaGUI-${timestamp}`; await github.rest.git.createRef({ owner: context.repo.owner, repo: context.repo.repo, @@ -153,11 +153,24 @@ jobs: cp player/JukaPlayer.png JukaGUI-Trimui/ zip -r JukaGUI-Trimui.zip JukaGUI-Trimui/ - - name: Upload Release Assets - uses: softprops/action-gh-release@v2 + - name: Create Release + uses: actions/create-release@v1 + id: create_release with: - files: ./JukaGUI-Trimui.zip tag_name: ${{ needs.create-tag.outputs.tag_name }} + release_name: ${{ needs.create-tag.outputs.tag_name }} + draft: false + prerelease: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload Release Assets + uses: actions/upload-release-asset@v1 + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./JukaGUI-Trimui.zip + asset_name: JukaGUI-Trimui.zip + asset_content_type: application/zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -187,8 +200,8 @@ jobs: Invoke-WebRequest -Uri https://github.com/libsdl-org/SDL_ttf/releases/download/release-2.22.0/SDL2_ttf-devel-2.22.0-mingw.zip -OutFile SDL2_ttf.zip Expand-Archive -Path SDL2_image.zip -DestinationPath SDL2_image Expand-Archive -Path SDL2_ttf.zip -DestinationPath SDL2_ttf - xcopy SDL2_image\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y - xcopy SDL2_ttf\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y + xcopy SDL2_image\SDL2_image-2.8.4\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y + xcopy SDL2_ttf\SDL2_ttf-2.22.0\x86_64-w64-mingw32 C:\tools\mingw64 /E /I /Y - name: Set up Go uses: actions/setup-go@v2 @@ -215,11 +228,24 @@ jobs: cd .. zip -r JukaGUI-Trimui-Windows.zip JukaGUI-Trimui-Windows/ - - name: Upload Release Assets - uses: softprops/action-gh-release@v2 + - name: Create Release + uses: actions/create-release@v1 + id: create_release with: - files: ./JukaGUI-Trimui-Windows.zip tag_name: ${{ needs.create-tag.outputs.tag_name }} + release_name: ${{ needs.create-tag.outputs.tag_name }} + draft: false + prerelease: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload Release Assets + uses: actions/upload-release-asset@v1 + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./JukaGUI-Trimui-Windows.zip + asset_name: JukaGUI-Trimui-Windows.zip + asset_content_type: application/zip env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file