copy/.github/workflows/main.yml
2022-10-17 10:41:08 +01:00

25 lines
625 B
YAML

name: copy files
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: copy file
uses: canastro/copy-file-action@master
with:
source: "tests/a.txt"
target: "test-a.txt"
- name: copy file with args
uses: canastro/copy-file-action@master
with:
source: "tests/a.txt"
target: "test-a.txt"
flags: "-f"
- name: copy file with spaces
uses: canastro/copy-file-action@master
with:
source: "tests/path with spaces.txt"
target: "path-without-spaces.txt"