Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyTake-Off committed Jun 29, 2024
1 parent 8601ab7 commit 78f4b62
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 30 deletions.
3 changes: 2 additions & 1 deletion .github/actions/templates/moveFiles/action.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Move files'
description: 'Move files to a designated branch'
description: 'Move files to designated branch'

inputs:
branchName:
Expand All @@ -15,3 +15,4 @@ runs:
run: |
ls -al
git branch
echo ${{ inputs.branchName }}
24 changes: 12 additions & 12 deletions .github/workflows/move-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ on:
- '!wslfiles/README.md'
workflow_dispatch:

env:
branchName: 'wslfiles'
# env:
# branchName: 'wslfiles'

jobs:
move-files-to-branch:
Expand All @@ -21,15 +21,15 @@ jobs:
id: checkout-repo
uses: actions/checkout@v4

# - name: 'Move files'
# id: move-files
# uses: './templates/action.yaml'
# with:
# branchName: ${{ env.branchName }}

- name: 'Move files'
id: move-files
shell: bash
run: |
pwd
ls -al
uses: './.github/actions/templates/moveFiles/action.yaml'
with:
branchName: 'wslfiles'

# - name: 'Move files'
# id: move-files
# shell: bash
# run: |
# pwd
# ls -al
17 changes: 0 additions & 17 deletions .github/workflows/templates/move-files.yaml

This file was deleted.

0 comments on commit 78f4b62

Please sign in to comment.