| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- # .github/workflows/release.yml
- name: Yporaject CI
- on:
- release:
- types: [created]
-
- jobs:
- release_node_inject:
- name: release node_inject ${{ matrix.target }}
- runs-on: ubuntu-latest
- if: github.event_name == 'release'
- strategy:
- fail-fast: false
- matrix:
- include:
- - target: x86_64-pc-windows-gnu
- archive: zip
- - target: x86_64-unknown-linux-musl
- archive: tar.gz
- steps:
- - uses: actions/checkout@master
- - name: Compile and release
- uses: rust-build/rust-build.action@master
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- RUSTTARGET: ${{ matrix.target }}
- ARCHIVE_TYPES: ${{ matrix.archive }}
- ARCHIVE_NAME: node_inject_${{ matrix.target }}
-
- release_license-gen:
- name: release license-gen ${{ matrix.target }}
- runs-on: ubuntu-latest
- if: github.event_name == 'release'
- strategy:
- fail-fast: false
- matrix:
- include:
- - target: x86_64-pc-windows-gnu
- archive: zip
- - target: x86_64-unknown-linux-musl
- archive: tar.gz
- steps:
- - uses: actions/checkout@master
- - name: Compile and release
- uses: rust-build/rust-build.action@master
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- RUSTTARGET: ${{ matrix.target }}
- ARCHIVE_TYPES: ${{ matrix.archive }}
- SRC_DIR: "license-gen"
- ARCHIVE_NAME: license-gen_${{ matrix.target }}
|