Skip to content

Version bump to 65.1.1 #90

Version bump to 65.1.1

Version bump to 65.1.1 #90

Workflow file for this run

name: Build Luxtorpeda
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
container:
image: rust:1.68-buster
env:
CARGO_HOME: ./cargo
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Deps
run: apt-get update && apt-get -y install clang libsdl2-dev scons libpng-dev
- name: Cache Godot deps
id: cache-godot
uses: actions/cache@v3
with:
key: ${{ runner.os }}-build-godot351
path: |
/usr/local/bin/godot
~/.local/share/godot/templates/3.5.2.stable/linux_x11_64_release
- name: Install Godot
if: steps.cache-godot.outputs.cache-hit != 'true'
run: wget https://downloads.tuxfamily.org/godotengine/3.5.2/Godot_v3.5.2-stable_linux_headless.64.zip && unzip Godot_v3.5.2-stable_linux_headless.64.zip && chmod +x Godot_v3.5.2-stable_linux_headless.64 && rm Godot_v3.5.2-stable_linux_headless.64.zip && mv Godot_v3.5.2-stable_linux_headless.64 /usr/local/bin/godot
- name: Build Godot Export Template
if: steps.cache-godot.outputs.cache-hit != 'true'
run: make godot-export-template SCONS="python3 /usr/bin/scons" && mkdir -p ~/.local/share/godot/templates/3.5.2.stable && mv ./godot-build/bin/godot.x11.opt.64 ~/.local/share/godot/templates/3.5.2.stable/linux_x11_64_release
- name: Build
run: make release GODOT=godot
- name: Package
run: make version=${{ github.ref_name }} luxtorpeda.tar.xz GODOT=godot
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: luxtorpeda.tar.xz
path: ./luxtorpeda.tar.xz
deploy:
needs: [build]
runs-on: ubuntu-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
with:
name: luxtorpeda.tar.xz
path: ./
- name: Create Release
id: create_release
uses: luxtorpeda-dev/create-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: ${{ github.ref_name }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: luxtorpeda-dev/upload-release-asset@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: luxtorpeda.tar.xz
asset_name: luxtorpeda-${{ github.ref_name }}.tar.xz
asset_content_type: application/x-xz