feat: Add warning tip for full builds #427
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: Develop and Release Test | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
- release/* | |
paths-ignore: | |
- '**.md' | |
defaults: | |
run: | |
shell: nu {0} | |
jobs: | |
test-latest: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
name: test (${{matrix.os}}, setup-nu@latest-dev) | |
steps: | |
- uses: actions/checkout@v4.1.3 | |
- name: Setup nu@latest | |
uses: hustcer/setup-nu@develop | |
with: | |
check-latest: true | |
enable-plugins: true | |
env: | |
ACTIONS_STEP_DEBUG: true | |
- name: You can run bash commands, too | |
run: pwd && ls -la | |
shell: bash | |
- name: Default shell will be `nu` | |
run: | | |
print $'Nu version info:(char nl)'; print (version) | |
print $'Current env:(char nl)'; print $env | |
print 'Current NU_LIB_DIRS:' | |
print $env.NU_LIB_DIRS | |
print $'Nu path:(which nu)(char nl)' | |
print $"(char nl)Dir contents:(char nl)"; print (ls ((which nu).path.0 | path dirname)) | |
def greeting [name: string] { | |
print $'Hello ($name)' | |
} | |
greeting hustcer | |
test-ver: | |
strategy: | |
matrix: | |
os: [ubuntu-22.04, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
name: test (${{matrix.os}}, setup-nu@v3.10) | |
steps: | |
- uses: actions/checkout@v4.1.3 | |
- name: Setup nu@latest | |
uses: hustcer/setup-nu@v3.10 | |
with: | |
version: v0.80 | |
enable-plugins: true | |
env: | |
ACTIONS_STEP_DEBUG: true | |
- run: print $'Nu version info:(char nl)'; version | |
- run: print $'Current env:(char nl)'; $env | |
- run: print $'Nu path:(which nu)(char nl)' | |
- run: print $"(char nl)Dir contents:(char nl)"; ls ((which nu).path.0 | path dirname) |