summaryrefslogtreecommitdiffstats
path: root/.github/workflows/linux-trusty-5.12.yml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-17 16:12:42 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-10-18 20:46:01 -0700
commitaff54e17e5bb0642df2417014cb541ff0900a114 (patch)
tree07bec7a04b5fb34e64a8fbae66d7ce2dd0e6cf7e /.github/workflows/linux-trusty-5.12.yml
parentf099b22820f09ef04395e46d822b0fe2cbcfeb8d (diff)
downloadsubsurface-aff54e17e5bb0642df2417014cb541ff0900a114.tar.gz
GitHub Actions: post releases
This so far just works on push and hopefullt pull requests, not for tags and therefore actual releases. In order not to conflict with the binaries from Travis, I changed the name to "ci-release" instead of "continuous". Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to '.github/workflows/linux-trusty-5.12.yml')
-rw-r--r--.github/workflows/linux-trusty-5.12.yml21
1 files changed, 10 insertions, 11 deletions
diff --git a/.github/workflows/linux-trusty-5.12.yml b/.github/workflows/linux-trusty-5.12.yml
index 9df623aa3..3b6256c8b 100644
--- a/.github/workflows/linux-trusty-5.12.yml
+++ b/.github/workflows/linux-trusty-5.12.yml
@@ -9,19 +9,18 @@ jobs:
steps:
- name: checkout sources
- run: |
- echo $pwd
- git clone git://github.com/${GITHUB_REPOSITORY}
- cd subsurface
- git checkout ${GITHUB_SHA}
+ uses: actions/checkout@v1
- name: run build
run: |
- echo $pwd
+ cd ..
bash -x subsurface/.github/workflows/in-container-build.sh
- - name: publish result
- uses: actions/upload-artifact@v1
- with:
- name: Subsurface-${{github.sha}}.AppImage
- path: ./Subsurface.AppImage # /${GITHUB_WORKSPACE}/ in the container is '.' here
+ - name: create CI release
+ uses: ./.github/actions/release
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_REPO: ${{ github.repository }}
+ REF: ${{ github.ref }}
+ COMMIT: ${{ github.sha }}
+ BIN1: ./Subsurface.AppImage