Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/SKalt/cconvention
Browse files Browse the repository at this point in the history
  • Loading branch information
SKalt committed Jan 22, 2024
2 parents fd34af9 + 01f6c0f commit 03f1788
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 30 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -548,23 +548,28 @@ jobs:
if: steps.release_id.outputs.ok == 'true'
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release create "$VERSION" --draft --verify-tag --title "$VERSION"
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: gh release create "v$VERSION" --draft --verify-tag --title "v$VERSION"
- uses: actions/download-artifact@v4
if: steps.release_id.outputs.ok == 'true'
with:
pattern: "cconvention-*"
path: artifacts
- name: flatten directory
shell: bash
run: |
mkdir flattened
find ./artifacts -type f -exec mv '{}' ./flattened/ ';'
- name: "checksums"
if: steps.release_id.outputs.ok == 'true'
shell: bash
run: |
cd artifacts && shasum -a 256 * > checksums.txt
cd flattened && shasum -a 256 * > checksums.txt
- name: "upload artifacts"
if: steps.release_id.outputs.ok == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
shell: bash
run: |
cd artifacts;
find . -type f -exec gh release upload "$VERSION" '{}' ';'
cd flattened &&
find . -type f -exec gh release upload "v$VERSION" '{}' ';'
32 changes: 8 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 03f1788

Please sign in to comment.