diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml deleted file mode 100644 index a81f9bc..0000000 --- a/.github/workflows/build-and-test.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 7cf67c3..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -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