diff --git a/.github/workflows/test.yml b/.github/workflows/test-ubuntu.yml similarity index 95% rename from .github/workflows/test.yml rename to .github/workflows/test-ubuntu.yml index 5d515f1..548c7b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test-ubuntu.yml @@ -1,4 +1,4 @@ -name: "Action Test" +name: "Action Test (Ubuntu)" on: push: branches: diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml new file mode 100644 index 0000000..41fb70d --- /dev/null +++ b/.github/workflows/test-windows.yml @@ -0,0 +1,27 @@ +name: "Action Test (Windows)" +on: + push: + branches: + - master + +jobs: + # test action works running from the graph + test: + runs-on: windows-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Run Workflow + id: write_file + uses: ./ + with: + fileName: 'myTemporaryFile.txt' + encodedString: ${{ secrets.SOME_ENCODED_STRING }} # SGVsbG8sIFdvcmxkIQ== + - name: Echo file + run: | + echo ${{ steps.write_file.outputs.filePath }} + - name: Upload Artifact + uses: actions/upload-artifact@master + with: + name: 'final-file.txt' + path: ${{ steps.write_file.outputs.filePath }} \ No newline at end of file