1
0
forked from GitHub/gf-rgl

dest cannot be same as dist

This commit is contained in:
John J. Camilleri
2020-11-11 21:50:16 +01:00
parent dd102142f5
commit 6cedca7f4f

View File

@@ -5,24 +5,25 @@ on: [push, pull_request]
jobs: jobs:
build: build:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
env:
GF_VERSION: 3.10-1
DEST: out/
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install GF - name: Install GF
env:
GF_VERSION: 3.10-1
run: | run: |
curl -s https://www.grammaticalframework.org/download/gf_${GF_VERSION}_amd64.deb -o gf.deb curl -s https://www.grammaticalframework.org/download/gf_${GF_VERSION}_amd64.deb -o gf.deb
sudo dpkg -i gf.deb sudo dpkg -i gf.deb
- name: Build RGL - name: Build RGL
run: | run: |
bash Setup.sh --dest=dist/ --gf=gf --verbose bash Setup.sh --dest=${DEST} --gf=gf --verbose
- name: Create archive - name: Create archive
run: | run: |
tar --create --gzip --verbose --file dist.tar.gz dist/ tar --create --gzip --verbose --file dist.tar.gz ${DEST}
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2