Created nightly release action and added a prelimenary main menu
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
on:
|
||||
push:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
- name: Build Nightly Release
|
||||
runs-on: Debian-x86
|
||||
strategy:
|
||||
matrix:
|
||||
platform: [linux, windows, mac]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
lfs: true
|
||||
- name: Build
|
||||
id: build
|
||||
uses: felix-schindler/build-godot-action@v2.0.0
|
||||
with:
|
||||
name: wrplat
|
||||
preset: ${{ matrix.platform }}
|
||||
debugMode: "true"
|
||||
- name: Clean up Release & Update Tag
|
||||
run: |
|
||||
# Find and delete the old Gitea Release payload via API
|
||||
RELEASE_ID=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" ${{ github.api_url }}/repos/${{ github.repository }}/releases/tags/nightly | jq -r '.id')
|
||||
if [ "$RELEASE_ID" != "null" ] && [ -n "$RELEASE_ID" ]; then
|
||||
echo "Deleting old release ID: $RELEASE_ID"
|
||||
curl -s -X DELETE -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" ${{ github.api_url }}/repos/${{ github.repository }}/releases/$RELEASE_ID
|
||||
fi
|
||||
|
||||
# Force the 'nightly' Git tag to point to this new commit and push it
|
||||
git tag -f nightly ${{ github.sha }}
|
||||
git push -f origin nightly
|
||||
|
||||
- name: Update Nightly Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: nightly
|
||||
target_commitish: ${{ github.sha }}
|
||||
name: "Nightly Development Build"
|
||||
body: |
|
||||
Automated rolling nightly build from the latest commit on `main`.
|
||||
|
||||
**Commit:** ${{ github.sha }}
|
||||
prerelease: true
|
||||
files: |
|
||||
${{ github.workspace }}/${{ steps.build.outputs.build }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3 uid="uid://c4m8fwawvvkgn"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://qh67enaialkt" path="res://sprites/background/demobackground.PNG" id="1_5a6er"]
|
||||
|
||||
[node name="Node2D" type="Node2D" unique_id=1686720967]
|
||||
|
||||
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=964065099]
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="CanvasLayer" unique_id=113370318]
|
||||
offset_left = 13.0
|
||||
offset_top = 14.0
|
||||
offset_right = 266.0
|
||||
offset_bottom = 63.0
|
||||
color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/ColorRect" unique_id=2085880928]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "WRPLAT_TITLE"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TextureRect" type="TextureRect" parent="CanvasLayer" unique_id=2116447674]
|
||||
z_index = -1
|
||||
offset_left = -146.0
|
||||
offset_right = 2056.0
|
||||
offset_bottom = 930.0
|
||||
scale = Vector2(0.695, 0.695)
|
||||
texture = ExtResource("1_5a6er")
|
||||
@@ -0,0 +1,3 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://nerlsbdjd6qo"]
|
||||
|
||||
[resource]
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 815 KiB |
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://qh67enaialkt"
|
||||
path="res://.godot/imported/demobackground.PNG-dee38cbd46d6cf4b0a16ac1a4003095b.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://sprites/background/demobackground.PNG"
|
||||
dest_files=["res://.godot/imported/demobackground.PNG-dee38cbd46d6cf4b0a16ac1a4003095b.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Reference in New Issue
Block a user