jobs:
publish:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-22.04, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Install Node and NPM
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
참고: https://github.com/actions/upload-artifact?tab=readme-ov-file#permission-loss
- name: 'Tar files - for file permissions'
run: tar -cvf my_name.tar release/build
- uses: actions/upload-artifact@v4
with:
name: my_name
path: my_name.tar