Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed tangem-publish.yaml workdlow #36

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/tangem-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
jobs:
publish:
name: Create tag and publish
runs-on: macos-latest
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -34,17 +34,6 @@ jobs:
- name: Echo version.properties
run: echo ${{ steps.version.outputs.tangem }}

- name: Create tag
uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.version.outputs.tangem }}",
sha: context.sha
})
- name: Setup Gradle
uses: gradle/gradle-build-action@v2

Expand Down Expand Up @@ -74,6 +63,18 @@ jobs:
run: tools/install-dependencies
if: steps.internal_cache.outputs.cache-hit != 'true'

- name: Create tag
uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/${{ steps.version.outputs.tangem }}",
sha: context.sha
})

- name: Generate files
run: tools/generate-files android

Expand Down
Loading