Release #8
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
name: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
description: 'Tag for the release' | |
required: true | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
- name: Download all artifacts | |
uses: actions/download-artifact@v3 | |
- name: Create Release | |
id: create_release | |
uses: actions/create-release@v1 | |
with: | |
tag_name: ${{ github.event.inputs.tag }} | |
release_name: Release ${{ github.event.inputs.tag }} | |
draft: false | |
prerelease: false | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: List files | |
run: ls -al | |
- name: Upload Release Asset 4.24 | |
uses: actions/upload-release-asset@v1 | |
with: | |
upload_url: ${{ steps.create_release.outputs.upload_url }} | |
asset_path: UnrealLibretro-4.24 | |
asset_name: UnrealLibretro-4.24.zip | |
asset_content_type: application/zip | |
# Repeat the above step for other versions 4.25, 4.26, and so on... |