Skip to content

Commit

Permalink
Improve actions workflow
Browse files Browse the repository at this point in the history
Added a few things from the other build scripts, made job names lower
case.

Changed the build script file name to the future name, and removed a
soon-to-be-obsolete hack.
  • Loading branch information
TheAssassin committed Dec 14, 2020
1 parent da70aa8 commit 6917b9f
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ on:


jobs:
Build:
build:
name: Build appimagetool
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- ARCH: 'x86_64'
Expand All @@ -23,7 +24,7 @@ jobs:
docker-image: 'appimagebuild-armhf-cross'
- ARCH: 'aarch64'
docker-image: 'appimagebuild-aarch64-cross'
fail-fast: false

env:
DOCKER_IMAGE: quay.io/appimage/${{ matrix.docker-image }}
ARCH: ${{ matrix.ARCH }}
Expand All @@ -38,11 +39,7 @@ jobs:

- name: Build
run: |
if [[ "$ARCH" == "i386" ]]; then
sudo dpkg --add-architecture i386
sudo apt-get update
fi
bash -ex ci/ci-build.sh
bash -ex ci/build-in-docker.sh
- name: List files
run: |
Expand All @@ -56,14 +53,15 @@ jobs:
path: build/out


Release:
needs: [Build]
upload:
needs: [build]
runs-on: ubuntu-latest

steps:
- name: Download Artifact
- name: Download Artifacts
uses: actions/download-artifact@v1

- name: Inspect directory after downloading artifacts
run: ls -alFR
- name: Create release and upload artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6917b9f

Please sign in to comment.