feat: removing unused job #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- feat/release-please-test | |
permissions: | |
contents: write | |
pull-requests: write | |
name: release-please | |
jobs: | |
release-please: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
outputs: | |
# Apps: | |
namadillo_tag: ${{ steps.release.outputs['apps/namadillo--tag_name'] }} | |
extension_tag: ${{ steps.release.outputs['apps/extension--tag_name'] }} | |
# Packages | |
# | |
steps: | |
- uses: googleapis/release-please-action@v4 | |
id: release | |
build-namadillo: | |
needs: [release-please] | |
if: ${{ needs.release-please.outputs.namadillo_tag }} | |
name: Release Namadillo | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ github.token }} | |
TAG_NAME: ${{ needs.release-please.outputs.namadillo_tag }} | |
FILENAME: ${{ needs.release-please.outputs.namadillo_tag }}.zip | |
defaults: | |
run: | |
working-directory: ./apps/namadillo | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install yarn dependencies | |
uses: ./.github/actions/yarn-cache | |
- name: Restore Rust cache | |
uses: ./.github/actions/rust-cache | |
with: | |
cache-name: build | |
- name: Install protoc | |
run: sudo apt-get install -y protobuf-compiler | |
- name: Build Namadillo | |
run: yarn build | |
- name: Upload artifact | |
working-directory: ./apps/namadillo/dist | |
run: | | |
zip -r ${{ env.FILENAME }} . | |
gh release upload ${{ env.TAG_NAME }} ${{ env.FILENAME }} | |
build-keychain-chrome: | |
needs: release-please | |
if: ${{ needs.release-please.outputs.extension_tag }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Build Chrome Extension | |
uses: ./.github/actions/build-extension | |
with: | |
browser: chrome | |
tag: ${{ needs.release-please.outputs.extension_tag }} | |
build-keychain-firefox: | |
needs: release-please | |
if: ${{ needs.release-please.outputs.extension_tag }} | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Build Firefox Extension | |
uses: ./.github/actions/build-extension | |
with: | |
browser: firefox | |
tag: ${{ needs.release-please.outputs.extension_tag }} |