Skip to content

Release 2024-rc3

Release 2024-rc3 #4

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
version:
required: true
type: string
default: 2024.1.0
description: Release tag. Recommended format year.month.version
run-name: Release ${{ inputs.version }}
permissions:
actions: read
contents: write
env:
artifact-name: Orbiter-${{ inputs.version }}.zip
jobs:
build:
name: Build
uses: ./.github/workflows/reusable-build.yml
strategy:
fail-fast: false
matrix:
architecture: [x64, x86]
with:
architecture: ${{ matrix.architecture }}
upload: true
docs: true
package:
name: Package
needs: [build]
runs-on: ubuntu-latest
permissions:
actions: read
contents: write
steps:
- uses: actions/download-artifact@v4
with:
name: Orbiter-x86
path: Orbiter-x86
- uses: actions/download-artifact@v4
with:
name: Orbiter-x64
path: Orbiter-x64
- run: |
find .
mv Orbiter-x86/Orbiter.zip Orbiter-x86.zip
mv Orbiter-x64/Orbiter.zip Orbiter-x64.zip
- name: "Create nightly release"
uses: softprops/action-gh-release@v2
with:
body: https://cdn.openorbiter.space/orbiter-releases/Orbiter-${{ inputs.version }}.zip
tag_name: ${{ inputs.version }}
prerelease: false
make_latest: true
target_commitish: ${{ github.sha }}
name: Orbiter ${{ inputs.version }}
files: |
Orbiter-x86.zip
Orbiter-x64.zip