Skip to content

Commit

Permalink
. e updated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
yelmuratoff committed Jun 30, 2024
1 parent ef66fb6 commit 7465aa1
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 25 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/auto_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@ on:
- completed

jobs:
check-release-tag:
build:
defaults:
run:
working-directory: packages/approval_tests
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:

- name: 📚 Git Checkout
uses: actions/checkout@v4
with:
Expand All @@ -20,4 +22,4 @@ jobs:
- name: ⬆️ Auto-Deploy to pub.dev
run: |
./packages/approval_tests/bash/push_release.sh
shell: bash
shell: bash
8 changes: 3 additions & 5 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on: [push, pull_request]

jobs:
build:
defaults:
run:
working-directory: packages/approval_tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
Expand Down Expand Up @@ -62,11 +65,6 @@ jobs:
"C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe" --version
fi
shell: bash

- name: Go to approval_tests
run: |
cd packages
cd approval_tests

- name: 📦 Install Dependencies
run: |
Expand Down
44 changes: 27 additions & 17 deletions .github/workflows/mdsnippets.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
name: Formatting and Snippets

on:
push:

jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/approval_tests

format_and_snippets:
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/approval_tests
steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4

- name: 📚 Git Checkout
uses: actions/checkout@v4

- name: ♻️ Run MarkdownSnippets
run: |
dotnet tool install --global MarkdownSnippets.Tool
mdsnippets ${GITHUB_WORKSPACE}
shell: bash
- name: ♻️ Run MarkdownSnippets
run: |
dotnet tool install --global MarkdownSnippets.Tool
mdsnippets ${GITHUB_WORKSPACE}
shell: bash

- name: ⬆️ Git Commit and Push
uses: github-actions-x/[email protected]
with:
github-token: "${secrets.GITHUB_TOKEN}"
commit-message: ". d updated markdown snippets"
rebase: 'true'
push-branch: 'main'
name: github actions
email: [email protected]
- name: ⬆️ Git Commit and Push
uses: github-actions-x/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
commit-message: ". d updated markdown snippets"
rebase: 'true'
push-branch: 'main'
name: github actions
email: [email protected]

0 comments on commit 7465aa1

Please sign in to comment.