Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Randark-JMT committed Oct 1, 2024
1 parent 0566438 commit 91f8cc4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Registration.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: User Registration / 用户注册

run-name: ${{github.actor}} is registering a user 🚀
run-name: ${{github.actor}} is registering a user as [ ${{ inputs.username }} ] 🚀

on:
workflow_dispatch:
Expand All @@ -14,12 +14,12 @@ on:
required: true
type: string
biography:
description: "User's biography / 个人简介"
description: "User's biography / 个人简介 "
required: true
type: string

jobs:
Explore-GitHub-Actions:
User-Registration:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
Expand All @@ -31,13 +31,13 @@ jobs:
- name: Run Registration Script
id: registration
run: |
output=$(python Registration.py ${{ github.actor }} ${{ inputs.username }} ${{ inputs.email }} ${{ inputs.biography }})
output=$(python Registration.py ${{ github.actor}} ${{ inputs.username }} ${{ inputs.email }} ${{ inputs.biography }})
echo "Output: $output"
echo "::set-output name=result::$output"
exit_code=$?
echo "Exit code: $exit_code"
echo "::set-output name=exit_code::$exit_code"
- name: Check Registration Status
run: |
echo "The script exit code was: ${{ steps.registration.outputs.exit_code }}"
echo "The script output was: ${{ steps.registration.outputs.result }}"
echo "The script exit code was: ${{steps.registration.outputs.exit_code}}"
echo "The script output was: ${{steps.registration.outputs.result}}"

0 comments on commit 91f8cc4

Please sign in to comment.