Merge pull request #570 from malard/langmap #18
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 Chorus2 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 8 | |
- name: Install dependencies | |
run: | | |
sudo gem install bundler && bundle config path vendor/bundle | |
npm install | |
bundle install | |
- name: Build | |
run: | | |
grunt build --force | |
- name: Prepare for uploading | |
run: | | |
cp src/xml/addon.release.xml dist/addon.xml | |
rm dist/js/build/*.js | |
mkdir upload | |
cp -r dist upload/webinterface.default | |
- name: Upload | |
uses: actions/upload-artifact@v4 | |
with: | |
name: webinterface.default | |
path: | | |
upload |