mirror of
https://github.com/13hannes11/toolbx-tuner.git
synced 2024-09-03 23:21:00 +02:00
fix pipeline
This commit is contained in:
38
.github/workflows/build_and_publish.yml
vendored
38
.github/workflows/build_and_publish.yml
vendored
@@ -1,38 +0,0 @@
|
|||||||
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 -f containers/docker-compose.yml 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
|
|
||||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
|
||||||
with:
|
with:
|
||||||
bundle: toolbxtuner.flatpak
|
bundle: toolbxtuner.flatpak
|
||||||
manifest-path: build-aux/org.kuchelmeister.ToolbxTuner.Devel.json
|
manifest-path: build-aux/org.kuchelmeister.ToolboxTuner.Devel.json
|
||||||
run-tests: true
|
run-tests: true
|
||||||
cache-key: flatpak-builder-${{ github.sha }}
|
cache-key: flatpak-builder-${{ github.sha }}
|
||||||
- name: ls
|
- name: ls
|
||||||
|
|||||||
Reference in New Issue
Block a user