diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-11-29 00:17:28 +0100 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2021-11-29 00:22:33 +0100 |
| commit | 31fba94b8e8c15c1d127925f01a38efc68933fd1 (patch) | |
| tree | 90c718366499458ade032a879b7e02f58fcd7820 /.github/workflows | |
| parent | 7186b911cc461dbdad9307afd8901be118e20893 (diff) | |
| download | psn00bsdk-31fba94b8e8c15c1d127925f01a38efc68933fd1.tar.gz | |
Add io/system573 example, rewrite dev notes, fix CI
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d6746b0..8c16ac3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -181,22 +181,38 @@ jobs: needs: [ build-sdk-windows, build-sdk-linux ] steps: + - name: Initialize toolchain cache + if: ${{ github.ref_type == 'tag' }} + uses: actions/cache@v2 + with: + key: gcc-${{ env.GCC_TARGET }}-${{ env.GCC_VERSION }} + path: gcc + + - name: Package GCC toolchains + if: ${{ github.ref_type == 'tag' }} + run: | + cd gcc/windows + zip -9 -q -r ../../gcc-${{ env.GCC_TARGET }}-${{ env.GCC_VERSION }}-windows.zip . + cd ../linux + zip -9 -q -r ../../gcc-${{ env.GCC_TARGET }}-${{ env.GCC_VERSION }}-linux.zip . + - name: Fetch repo contents + if: ${{ github.ref_type == 'tag' }} uses: actions/checkout@v2 with: path: sdk + - name: Generate release notes + if: ${{ github.ref_type == 'tag' }} + run: | + python3 sdk/.github/scripts/generate_release_notes.py -v ${{ github.ref_name }} -o release.md sdk/CHANGELOG.md + - name: Fetch build artifacts if: ${{ github.ref_type == 'tag' }} uses: actions/download-artifact@v2 with: path: . - - name: Generate release notes - if: ${{ github.ref_type == 'tag' }} - run: | - sdk/.github/scripts/generate_release_notes.py -v ${{ github.ref_name }} -o release.md sdk/CHANGELOG.md - - name: Publish release if: ${{ github.ref_type == 'tag' }} uses: softprops/action-gh-release@v1 @@ -204,5 +220,6 @@ jobs: fail_on_unmatched_files: true body_path: release.md files: | + *.zip psn00bsdk-windows/* psn00bsdk-linux/* |
