workflows2 #2
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: Build libnx | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
name: Test build | |
runs-on: ubuntu-latest | |
container: | |
image: 'devkitpro/devkita64' | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: build | |
run: make -j2 | |
- name: test | |
run: ls -la | |
- name: Publish GitHub release | |
uses: softprops/action-gh-release@v2 | |
with: | |
tag_name: ${{ github.run_number }} | |
prerelease: false | |
draft: false | |
body: ${{ github.event.head_commit.message }} | |
files: led-on-joycon.nro | |
name: "Switch Release #${{ github.run_number }}" |