From 44214ac4387805969b5606e9cd7ead664f333890 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Thu, 15 Dec 2022 09:27:49 -0800 Subject: [PATCH] Modifying test workflow [skip ci] --- .github/workflows/test-matrix.yml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-matrix.yml b/.github/workflows/test-matrix.yml index 2e0e30d..eb76456 100644 --- a/.github/workflows/test-matrix.yml +++ b/.github/workflows/test-matrix.yml @@ -17,18 +17,34 @@ jobs: os: [ubuntu-latest, windows-latest] steps: - name: Checkout - uses: actions/checkout@v1 - - name: Run Workflow + uses: actions/checkout@v3 + + - name: Write file (1) id: write_file uses: ./ with: fileName: 'temp/dir/not/exists/myTemporaryFile.txt' encodedString: ${{ secrets.SOME_ENCODED_STRING }} # SGVsbG8sIFdvcmxkIQ== + + - name: Write file (2) + id: write_file2 + uses: ./ + with: + fileName: 'myTemporaryFile.json' + encodedString: ${{ secrets.ENCODED_JSON }} + - name: Echo file run: | echo ${{ steps.write_file.outputs.filePath }} + - name: Upload Artifact - uses: actions/upload-artifact@master + uses: actions/upload-artifact@v3 with: name: 'final-file-${{ matrix.os }}.txt' path: ${{ steps.write_file.outputs.filePath }} + + - name: Upload Artifact 2 + uses: actions/upload-artifact@v3 + with: + name: 'final-file-${{ matrix.os }}.json' + path: ${{ steps.write_file2.outputs.filePath }}