forked from glKarin/com.n0n3m4.diii4a
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ jobs: | |
run: | | ||
echo ${{ github.workspace }} ${{ matrix.os }}-${{ matrix.bits }} | ||
if [ "x${{ matrix.bits }}" = "x32" ]; then echo "arch=86" >> "$GITHUB_OUTPUT"; else echo "arch=64" >> "$GITHUB_OUTPUT"; fi | ||
if [ "x${{ matrix.os }}" = "xubuntu-latest" ]; then echo "os=linux" >> "$GITHUB_OUTPUT"; else echo "os=win" >> "$GITHUB_OUTPUT"; fi | ||
if [ "x${{ matrix.os }}" = "xubuntu-latest" ]; then echo "os=linux" >> "$GITHUB_OUTPUT"; echo "archive=tar.gz" >> "$GITHUB_OUTPUT"; else echo "os=win" >> "$GITHUB_OUTPUT"; echo "archive=zip" >> "$GITHUB_OUTPUT"; fi | ||
- name: Get current date time | ||
id: current_datetime | ||
|
@@ -112,8 +112,8 @@ jobs: | |
if: matrix.os == 'windows-latest' | ||
uses: vimtor/[email protected] | ||
with: | ||
files: windows_x${{ steps.strings.outputs.arch }}_release/ | ||
dest: idTech4A++-test_windows_x${{ steps.strings.outputs.arch }}_release-${{ steps.current_datetime.outputs.time }}.zip | ||
files: ${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release/ | ||
dest: idTech4A++-test_${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}-${{ steps.current_datetime.outputs.time }}.zip | ||
recursive: false | ||
|
||
- name: run apt | ||
|
@@ -145,13 +145,13 @@ jobs: | |
#cp Q3E/src/main/jni/doom3/neo/${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}/Quake4 ${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release/ | ||
#cp Q3E/src/main/jni/doom3/neo/${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}/Prey ${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release/ | ||
dir ${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release | ||
tar zcvf idTech4A++-test_${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release-${{ steps.current_datetime.outputs.time }}.tar.gz ${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release/ | ||
tar zcvf idTech4A++-test_${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}-${{ steps.current_datetime.outputs.time }}.tar.gz ${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release/ | ||
- uses: actions/upload-artifact@v4 | ||
name: Upload Zip artifacts | ||
name: Upload package archive artifacts | ||
with: | ||
name: "${{ matrix.os }}-${{ matrix.bits }}-release" | ||
path: "idTech4A++-test_${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}_release-${{ steps.current_datetime.outputs.time }}.${{matrix.os == 'ubuntu' && 'tar.gz' || 'zip'}}" | ||
path: "idTech4A++-test_${{ steps.strings.outputs.os }}_x${{ steps.strings.outputs.arch }}-${{ steps.current_datetime.outputs.time }}.${{ steps.strings.outputs.archive }}" | ||
retention-days: 1 | ||
|
||
collect: | ||
|
@@ -163,6 +163,10 @@ jobs: | |
with: | ||
# path: packages | ||
merge-multiple: true | ||
|
||
- name: List all packages | ||
run: | | ||
ls --color; | ||
- name: Delete tag and release | ||
uses: dev-drprasad/[email protected] | ||
|
@@ -178,7 +182,7 @@ jobs: | |
repo_token: "${{ secrets.TOKEN }}" | ||
automatic_release_tag: "windows_x64_testing" | ||
prerelease: true | ||
title: "Windows x64 testing (Non-release. Automatic CI builds)" | ||
title: "Windows/Linux x64 testing (Non-release. Automatic CI builds)" | ||
files: | | ||
idTech4A++-test_windows_x64_release-${{ steps.current_datetime.outputs.time }}.zip | ||
idTech4A++-test_windows_x86_release-${{ steps.current_datetime.outputs.time }}.zip | ||
idTech4A++-test_win_x64-${{ steps.current_datetime.outputs.time }}.zip | ||
idTech4A++-test_linux_x64-${{ steps.current_datetime.outputs.time }}.tar.gz |