Skip to content

Commit ddf9dac

Browse files
committed
Adding windows-latest to a new workflow for test
1 parent c473f25 commit ddf9dac

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/test.yml renamed to .github/workflows/test-ubuntu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Action Test"
1+
name: "Action Test (Ubuntu)"
22
on:
33
push:
44
branches:

.github/workflows/test-windows.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Action Test (Windows)"
2+
on:
3+
push:
4+
branches:
5+
- master
6+
7+
jobs:
8+
# test action works running from the graph
9+
test:
10+
runs-on: windows-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v1
14+
- name: Run Workflow
15+
id: write_file
16+
uses: ./
17+
with:
18+
fileName: 'myTemporaryFile.txt'
19+
encodedString: ${{ secrets.SOME_ENCODED_STRING }} # SGVsbG8sIFdvcmxkIQ==
20+
- name: Echo file
21+
run: |
22+
echo ${{ steps.write_file.outputs.filePath }}
23+
- name: Upload Artifact
24+
uses: actions/upload-artifact@master
25+
with:
26+
name: 'final-file.txt'
27+
path: ${{ steps.write_file.outputs.filePath }}

0 commit comments

Comments
 (0)