Skip to content

Commit

Permalink
Update CODEOWNERS (#288)
Browse files Browse the repository at this point in the history
* Update codeowners

* idl build

* Fixes

* Tweak
  • Loading branch information
wjthieme authored Sep 2, 2024
1 parent 75b8560 commit c4aeffd
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @yugure-orca @wjthieme
/programs/ @yugure-orca @philcchen
* @yugure-orca @wjthieme @odcheung
/programs/ @yugure-orca @philcchen @rawfalafel

30 changes: 15 additions & 15 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,46 +43,46 @@ jobs:
uses: ./.github/actions/anchor
with:
run: |
sed -i 's/^version = ".*"$/version = "$(basename ${{ github.ref }})"/' rust-sdk/${{ matrix.package }}/Cargo.toml
sed -i 's/^version = ".*"$/version = \"$(basename ${{ github.ref }})\"/' rust-sdk/${{ matrix.package }}/Cargo.toml
# TODO: replace workspace dependencies with fixed version
yarn build rust-sdk/${{ matrix.package }} --output-style static
cd rust-sdk/${{ matrix.package }} && cargo publish --allow-dirty
env:
CRATES_IO_API_TOKEN: ${{ secrets.CRATES_TOKEN }}

verifiable:
idl:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Verifiable build
run: anchor build --verifiable
- name: Build idl
uses: ./.github/actions/anchor
with:
run: |
anchor build
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: verifiable-build
path: |
target/deploy/*.so
target/idl/*.json
name: idl
path: target/idl/*.json
if-no-files-found: error

release:
needs: [npm, cargo, verifiable]
if: ${{ always() }}
needs: [npm, cargo, idl]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: verifiable-build
path: artifacts/
name: idl
path: idl
- name: Create Release
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
allowUpdates: true
artifacts: artifacts/
artifacts: idl
2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.4.0.cjs
changesetBaseRefs: ["HEAD"]

0 comments on commit c4aeffd

Please sign in to comment.