Skip to content

Commit 44214ac

Browse files
committed
Modifying test workflow [skip ci]
1 parent 5e53f8a commit 44214ac

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/test-matrix.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,34 @@ jobs:
1717
os: [ubuntu-latest, windows-latest]
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v1
21-
- name: Run Workflow
20+
uses: actions/checkout@v3
21+
22+
- name: Write file (1)
2223
id: write_file
2324
uses: ./
2425
with:
2526
fileName: 'temp/dir/not/exists/myTemporaryFile.txt'
2627
encodedString: ${{ secrets.SOME_ENCODED_STRING }} # SGVsbG8sIFdvcmxkIQ==
28+
29+
- name: Write file (2)
30+
id: write_file2
31+
uses: ./
32+
with:
33+
fileName: 'myTemporaryFile.json'
34+
encodedString: ${{ secrets.ENCODED_JSON }}
35+
2736
- name: Echo file
2837
run: |
2938
echo ${{ steps.write_file.outputs.filePath }}
39+
3040
- name: Upload Artifact
31-
uses: actions/upload-artifact@master
41+
uses: actions/upload-artifact@v3
3242
with:
3343
name: 'final-file-${{ matrix.os }}.txt'
3444
path: ${{ steps.write_file.outputs.filePath }}
45+
46+
- name: Upload Artifact 2
47+
uses: actions/upload-artifact@v3
48+
with:
49+
name: 'final-file-${{ matrix.os }}.json'
50+
path: ${{ steps.write_file2.outputs.filePath }}

0 commit comments

Comments
 (0)