mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
WIP: parser toolbox list comand
This commit is contained in:
38
.github/workflows/build_and_publish.yml
vendored
Normal file
38
.github/workflows/build_and_publish.yml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Build (tag and pull_request) and publish (tag)
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*.*.*
|
||||
pull_request:
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build
|
||||
run: docker-compose up
|
||||
- name: Show dir
|
||||
run: ls
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v2.3.1
|
||||
with:
|
||||
name: executables
|
||||
path: |
|
||||
**.AppImage
|
||||
|
||||
publish:
|
||||
needs: [build]
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
steps:
|
||||
- uses: actions/download-artifact@v2
|
||||
- uses: "marvinpinto/action-automatic-releases@v1.2.1"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
prerelease: false
|
||||
files: |
|
||||
**/*.AppImage
|
||||
Reference in New Issue
Block a user