fix: 61 - upgrade to node 20 (#63) #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test download asset | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
download: | |
strategy: | |
matrix: | |
runs-on: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
version: | |
- 'tags/v0.1.18' | |
- '23960137' | |
- '' | |
name: Download | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Create a subdirectory | |
run: | | |
mkdir subdir | |
- name: Get a specific version | |
id: get_release | |
uses: ./ | |
with: | |
repo: 'dsaltares/godot-wild-jam-18' | |
version: ${{ matrix.version }} | |
file: 'plague-linux.zip' | |
target: 'subdir/plague-linux.zip' | |
- name: Display the outputs | |
run: | | |
echo "${{ steps.get_release.outputs.version }}" | |
echo "${{ steps.get_release.outputs.name }}" | |
echo "${{ steps.get_release.outputs.body }}" | |
- name: Display the file (Linux, Mac) | |
run: ls -l subdir/plague-linux.zip | |
if: matrix.runs-on != 'windows-latest' | |
- name: Display the file (Windows) | |
run: dir subdir/plague-linux.zip | |
if: matrix.runs-on == 'windows-latest' |