diff options
| author | Opportunity <[email protected]> | 2020-07-17 11:50:06 +0800 |
|---|---|---|
| committer | Opportunity <[email protected]> | 2020-07-17 11:50:06 +0800 |
| commit | 722d3af61d12dcb05580f6c609c4d13f662e17f1 (patch) | |
| tree | 4c3a9642fa4eebe373f3821f2713f0a8939b44a6 /.github/workflows/linux.yml | |
| parent | 50e403c5e3524327f0471cb1ec9cba148db747b1 (diff) | |
fix build
Diffstat (limited to '.github/workflows/linux.yml')
| -rw-r--r-- | .github/workflows/linux.yml | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml deleted file mode 100644 index cc058266b..000000000 --- a/.github/workflows/linux.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Linux - -on: - pull_request: - push: - release: - types: published - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - uses: xmake-io/github-action-setup-xmake@v1 - with: - xmake-version: ${{ github.repository }}#sha@${{ github.sha }} - - uses: mihails-strasuns/[email protected] - with: - compiler: dmd-latest - - uses: olegtarasov/get-tag@v2 - id: tagName - - # tests - - name: tests - run: | - xmake lua -v -D tests/run.lua - - # build artifacts - - name: artifact - run: | - sudo apt-get install -y ruby ruby-dev rubygems build-essential - sudo gem install --no-document fpm - git submodule update --init - scripts/makepkg deb - # upload artifacts - - uses: actions/upload-artifact@v2 - with: - name: xmake-latest.amd64.deb - path: artifacts/xmake.deb - - # publish release - - name: publish - if: github.event.action == 'published' - uses: actions/[email protected] - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ github.event.release.upload_url }} - asset_path: artifacts/xmake.deb - asset_name: xmake-${{ steps.tagName.outputs.tag }}.amd64.deb - asset_content_type: application/zip - |
