Skip to content

Commit

Permalink
Merge pull request #11533 from keymanapp/fix/linux/apiverification
Browse files Browse the repository at this point in the history
fix(linux): Properly use and pass run_id
  • Loading branch information
ermshiperete authored May 24, 2024
2 parents 989c769 + 6b2437e commit 071b178
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/api-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,21 @@ jobs:
GIT_BRANCH: ${{ steps.environment_step.outputs.GIT_BRANCH }}
GIT_BASE_BRANCH: ${{ steps.environment_step.outputs.GIT_BASE_BRANCH }}
GIT_USER: ${{ steps.environment_step.outputs.GIT_USER }}
ARTIFACTS_KEY: ${{ steps.environment_step.outputs.ARTIFACTS_KEY }}

steps:
- name: Read environment
id: environment_step
run: |
cat artifacts/env >> $GITHUB_OUTPUT
- name: Restore artifacts
uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
artifacts
key: ${ARTIFACTS_KEY}
key: artifacts-key-${{ github.event.workflow_run.id }}
restore-keys: artifacts-key-

- name: Read environment
id: environment_step
run: |
cat artifacts/env >> $GITHUB_OUTPUT
api_verification:
name: Verify API for libkeymancore.so
needs: setup_environment
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deb-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,14 +313,13 @@ jobs:
echo "GIT_BRANCH=${{ github.event.client_payload.branch }}" >> artifacts/env
echo "GIT_BASE_BRANCH=${{ github.event.client_payload.baseBranch }}" >> artifacts/env
echo "GIT_USER=${{ github.event.client_payload.user }}" >> artifacts/env
echo "ARTIFACTS_KEY=artifacts-key-${GITHUB_RUN_ID}" >> artifacts/env
- name: Cache artifacts
uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: |
artifacts
key: ${ARTIFACTS_KEY}
key: artifacts-key-${{ github.run_id }}

# We intentionally ignore the results of binary_packages_unreleased
set_status:
Expand Down

0 comments on commit 071b178

Please sign in to comment.