clean up outdated workflows (#316)
This commit is contained in:
16
.github/workflows/build-and-test.yml
vendored
16
.github/workflows/build-and-test.yml
vendored
@@ -1,16 +0,0 @@
|
||||
name: build-and-test
|
||||
|
||||
ono: [pull_request, push] # TODO remove "push". Add it just for debugging
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
users: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Build Docker image
|
||||
users: docker/build-push-action@v1
|
||||
with:
|
||||
push: false
|
||||
41
.github/workflows/release.yml
vendored
41
.github/workflows/release.yml
vendored
@@ -1,41 +0,0 @@
|
||||
name: Create draft release
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Create draft release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
# - name: Build project (dummy)
|
||||
# run: zip my-artifact README.md # TODO - actually create all the binaries, artifacts etc
|
||||
|
||||
- name: Package RPM
|
||||
uses: bpicode/github-action-fpm@master
|
||||
with:
|
||||
fpm_args: './build'
|
||||
fpm_opts: '--debug -n mypackage -t deb -s dir'
|
||||
|
||||
- name: Create Release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: Release ${{ github.ref }}
|
||||
body: Please add your release note here
|
||||
draft: true
|
||||
prerelease: false
|
||||
|
||||
# - name: Upload binaries
|
||||
# id: upload_binaries
|
||||
# uses: actions/upload-release-asset@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
# asset_path: ./my-artifact.zip
|
||||
# asset_name: my-artifact.zip
|
||||
# asset_content_type: application/zip
|
||||
Reference in New Issue
Block a user