Skip to content

Commit

Permalink
Add release for 64bit builds
Browse files Browse the repository at this point in the history
  • Loading branch information
VonOx committed Mar 21, 2022
1 parent a961f32 commit 1794dad
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/build-arm64.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Gladys OS ARM64 Build on demand

on:
workflow_dispatch:
push:
tags:
- 'v*'

jobs:
build:
Expand All @@ -12,6 +14,12 @@ jobs:
- uses: actions/checkout@v2
with:
ref: 'arm64'
-
name: Get the version (git tag)
id: get_version
run: |
echo ${GITHUB_REF/refs\/tags\//}
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
-
name: 🖥️ Install pi-gen required dependencies
run: |
Expand All @@ -26,3 +34,17 @@ jobs:
name: ✔️ Check prepared images
run: |
ls -al ./deploy
-
name: 🏷️ Rename files for release
run: |
sudo mv ./deploy/gladys-os-rpi.info ./gladys-os-rpi64-${{ steps.get_version.outputs.VERSION }}.info
sudo mv ./deploy/image_gladys-os-rpi.zip ./gladys-os-rpi64-${{ steps.get_version.outputs.VERSION }}.zip
-
name: 📦 Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: |
gladys-os-rpi64-${{ steps.get_version.outputs.VERSION }}.info
gladys-os-rpi64-${{ steps.get_version.outputs.VERSION }}.zip

0 comments on commit 1794dad

Please sign in to comment.