Adding windows-latest to a new workflow for test

This commit is contained in:
Tim Heuer
2020-01-21 08:37:13 -08:00
parent c473f25783
commit ddf9dac666
2 changed files with 28 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
name: "Action Test"
name: "Action Test (Ubuntu)"
on:
push:
branches:

27
.github/workflows/test-windows.yml vendored Normal file
View File

@@ -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 }}