Skip to content

Release

Release #4

Workflow file for this run

name: Release
on:
workflow_dispatch:
inputs:
tag:
type: string
required: true
description: 'Release tag'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Resources
run: |
cd src
zip -r ../UniverseResources.zip *
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: zip_file
path: UniverseResources.zip
release:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: zip_file
- name: Create Release
uses: ncipollo/release-action@v1
with:
artifacts: UniverseResources.zip
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.event.inputs.tag }}
draft: true
body: |
### Release ${{ github.event.inputs.tag }}
----
<!-- Add release notes here -->