Skip to content

Commit

Permalink
Added ability to manually trigger a build (Raptor3um#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeIsTheKey authored Apr 24, 2023
1 parent cca50d9 commit e5a4c05
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:
pull_request:
branches:
- develop
workflow_dispatch:

env:
COIN_NAME: raptoreum
BUILD_DIR: raptoreum-build
Expand Down Expand Up @@ -114,7 +116,7 @@ jobs:
echo "------------------------------------" >> checksums.txt
sha256sum * >> checksums.txt
cat checksums.txt
tar -cvzf ../${COIN_NAME}-ubuntu20-${{ needs.get-version.outputs.version }}.tar.gz *
tar -cvzf ../${COIN_NAME}-ubuntu20-${{ needs.get-version.outputs.version }}.tar.gz *
cd ../${BUILD_DIR}_debug
echo "sha256:" >> checksums.txt
echo "------------------------------------" >> checksums.txt
Expand Down Expand Up @@ -248,7 +250,7 @@ jobs:
echo "------------------------------------" >> checksums.txt
sha256sum * >> checksums.txt
cat checksums.txt
tar -cvzf ../${COIN_NAME}-ubuntu22-${{ needs.get-version.outputs.version }}.tar.gz *
tar -cvzf ../${COIN_NAME}-ubuntu22-${{ needs.get-version.outputs.version }}.tar.gz *
cd ../${BUILD_DIR}_debug
echo "sha256:" >> checksums.txt
echo "------------------------------------" >> checksums.txt
Expand Down Expand Up @@ -507,7 +509,7 @@ jobs:
# echo "------------------------------------" >> checksums.txt
# sha256sum * >> checksums.txt
# cat checksums.txt
# tar -cvzf ../${COIN_NAME}-arm32-${{ needs.get-version.outputs.version }}.tar.gz *
# tar -cvzf ../${COIN_NAME}-arm32-${{ needs.get-version.outputs.version }}.tar.gz *
# cd ../${BUILD_DIR}_debug
# echo "sha256:" >> checksums.txt
# echo "------------------------------------" >> checksums.txt
Expand Down Expand Up @@ -564,7 +566,7 @@ jobs:
# commands: |
# chmod +x test_raptoreum
# ./test_raptoreum --log_format=JUNIT > unit_test_results.xml

# - name: Upload Test Artifacts
# uses: actions/upload-artifact@v3
# if: always()
Expand Down Expand Up @@ -634,7 +636,7 @@ jobs:
echo "------------------------------------" >> checksums.txt
sha256sum * >> checksums.txt
cat checksums.txt
tar -cvzf ../${COIN_NAME}-arm64-${{ needs.get-version.outputs.version }}.tar.gz *
tar -cvzf ../${COIN_NAME}-arm64-${{ needs.get-version.outputs.version }}.tar.gz *
cd ../${BUILD_DIR}_debug
echo "sha256:" >> checksums.txt
echo "------------------------------------" >> checksums.txt
Expand All @@ -660,7 +662,7 @@ jobs:
with:
name: ${{ env.COIN_NAME }}-arm64-${{ needs.get-version.outputs.version }}
path: ${{ env.COMPRESS_DIR }}

- name: Upload Test Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit e5a4c05

Please sign in to comment.