diff --git a/.github/workflows/challenge.yml b/.github/workflows/challenge.yml new file mode 100755 index 0000000..58e3e2c --- /dev/null +++ b/.github/workflows/challenge.yml @@ -0,0 +1,20 @@ +name: challenge + +on: [push] + +env: + FILE_NAME: README.md +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + + - name: Check out code + uses: actions/checkout@v1 + + - name: Upload an arbitrary artifact + uses: actions/upload-artifact@v1.0.0 + with: + name: ubuntu + path: ./${{ env.FILE_NAME }} diff --git a/.github/workflows/first.yml b/.github/workflows/first.yml deleted file mode 100755 index 27569f5..0000000 --- a/.github/workflows/first.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: first - -on: push - -jobs: - job1: - name: First job - runs-on: ubuntu-latest - steps: - - name: Step one - uses: actions/checkout@v2 - - name: Step two - run: env | sort - job2: - name: Second job - runs-on: windows-latest - steps: - - name: Step one - uses: actions/checkout@v2 - - name: Step two - run: "Get-ChildItem Env: | Sort-Object Name" \ No newline at end of file