Skip to content

Commit

Permalink
Add linux-arm64 to manual release for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasstich committed Mar 14, 2024
1 parent 0bb52a7 commit 0357943
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/manual_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,49 @@ jobs:
name: authoringtool-linux
path: ./AuthoringTool/bin/Desktop_Publish/
if-no-files-found: error
publish-linux-arm64:
name: Publish for Linux ARM64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: Setup Dotnet for use with actions
uses: actions/setup-dotnet@v3
with:
dotnet-version: '7.0.304'

- name: Cache Nuget Packages
uses: actions/cache@v2
with:
path: ~/.nuget/packages
key: Linux-nuget-${{ hashFiles('**/packages.lock.json') }}
restore-keys: |
Linux-nuget
- name: Set up npm
uses: actions/setup-node@v3
with:
node-version: '16'

- name: Install electronize
run: dotnet tool restore

- name: Install npm dependencies
working-directory: ./AuthoringTool
run: npm install

- name: Run Tailwind build
working-directory: ./AuthoringTool
run: npm run tailwind-build

- name: Build AuthoringTool binary
working-directory: ./AuthoringTool
run: dotnet electronize build /target custom "linux-arm64;linux" /electron-arch arm64

- name: Save Build folder
uses: actions/upload-artifact@v3
with:
name: authoringtool-linux
path: ./AuthoringTool/bin/Desktop_Publish/
if-no-files-found: error

0 comments on commit 0357943

Please sign in to comment.