Update manual.yml

This commit is contained in:
Pao
2023-03-10 01:47:41 +01:00
committed by GitHub
parent ff19bc76df
commit 47538976ea

View File

@@ -1,27 +1,22 @@
# This is a basic workflow that is manually triggered
name: Manual workflow
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
name: Build Mod
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
name:
mod_name:
# Friendly description to be shown in the UI instead of 'name'
description: 'Person to greet'
description: 'Mod name'
# Default value if no value is explicitly provided
default: 'World'
default: 'TheOnlyCure'
# Input has to be provided for the workflow to run
required: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
assemble_package:
my_first_job:
runs-on: ubuntu-latest
steps:
- name: Run audit
id: audit
run: |
echo "Test1"
echo "Test2"
- uses: actions/checkout@v3
- run: mkdir -p ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}
- run: echo hello > ${{ inputs.mod_name}/Contents/mods/${{ inputs.mod_name}/world.txt
- uses: actions/upload-artifact@v3
with:
name: ${{ inputs.mod_name }}
path: path/to/artifact/world.txt