Skip to content

Merge pull request #598 from namehillsoftware/chore/refactor-collapsi… #92

Merge pull request #598 from namehillsoftware/chore/refactor-collapsi…

Merge pull request #598 from namehillsoftware/chore/refactor-collapsi… #92

Workflow file for this run

name: Build Release
on:
push:
tags:
- '**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 0
- name: Build and test project blue
env:
ANDROID_KEY_STORE_PASSWORD: "${{ secrets.ANDROID_KEY_STORE_PASSWORD }}"
ANDROID_STORE_PASSWORD: "${{ secrets.ANDROID_STORE_PASSWORD }}"
run: bash build-github-release.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
# Artifact name
name: project-blue.build
path: _artifacts/
upload:
name: Create release and upload artifacts
needs:
- build
runs-on: ubuntu-22.04
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Inspect directory after downloading artifacts
run: ls -alFR
- name: Create release and upload artifacts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
wget -q https://github.com/TheAssassin/pyuploadtool/releases/download/continuous/pyuploadtool-x86_64.AppImage
chmod +x pyuploadtool-x86_64.AppImage
./pyuploadtool-x86_64.AppImage **/*-release.apk