Skip to content

Commit

Permalink
Update build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxnflaxl authored Aug 4, 2024
1 parent c294343 commit 0dcd77e
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,33 +29,35 @@ jobs:
- name: Build the project
run: yarn build

- name: List directory contents
run: ls -R

- name: Create folder structure
run: |
mkdir -p BeamX DAO Voting/app
run: mkdir -p BeamX-DAO-Voting/app

- name: Copy build files
run: cp -r build/* BeamX DAO Voting/app/
run: cp -r build/* BeamX-DAO-Voting/app/

- name: Create manifest.json
run: |
echo '{
"name": "BeamX DAO Voting",
"description": "Voting on Beam community proposals",
"description": "A description of the BeamX DAO Voting app",
"url": "localapp/app/index.html",
"version": "1.0.0",
"version": "1.1.17",
"api_version": "7.0",
"min_api_version": "7.0",
"icon": "localapp/app/logo.svg",
"guid": "c26538f5ce9e410b89c1fd0dff783f97"
}' >BeamX DAO Voting/manifest.json
"guid": "d353352eb6a94618ac0a8ec7b29ca7bb"
}' > BeamX-DAO-Voting/manifest.json
- name: Package into .dapp file
run: |
zip -r BeamX DAO Voting.zip BeamX DAO Voting
mv BeamX DAO Voting.zip BeamX DAO Voting.dapp
zip -r BeamX-DAO-Voting.zip BeamX-DAO-Voting
mv BeamX-DAO-Voting.zip BeamX-DAO-Voting.dapp
- name: Upload .dapp file
uses: actions/upload-artifact@v2
with:
name: BeamX DAO Voting.dapp
path: BeamX DAO Voting.dapp
name: BeamX-DAO-Voting.dapp
path: BeamX-DAO-Voting.dapp

0 comments on commit 0dcd77e

Please sign in to comment.