Skip to content

Commit

Permalink
Test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAndreiM committed Jan 2, 2025
1 parent 082043c commit 46f9a59
Showing 1 changed file with 35 additions and 9 deletions.
44 changes: 35 additions & 9 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 46f9a59

Please sign in to comment.