Skip to content

Commit

Permalink
pr fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Aug 29, 2024
1 parent 3593238 commit 2a2d8c0
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Deploy release candidate
on:
push:
branches:
Expand All @@ -25,11 +25,10 @@ jobs:
directories: |
./examples
./tests
exclude_dirs: ''
determine-is-manual-release:
if: ${{ contains(github.head_ref, 'release--') }}
name: Determine If Tests Should Run
name: Determine if tests should run
runs-on: ubuntu-latest
outputs:
is_manual_release: ${{ steps.determine_is_manual_release.outputs.is_manual_release }}
Expand All @@ -53,7 +52,7 @@ jobs:
fi
release-candidate-deploy:
name: Deploy Release Candidate for Release Branches
name: Deploy release candidate for release branches
# Only run this job if it's a release branch. This job will run instead of run-tests and will automatically publish another commit which will be tested
if: ${{ !needs.determine-is-manual-release.outputs.is_manual_release }}
needs:
Expand All @@ -79,12 +78,12 @@ jobs:
DFXVM_INIT_YES=true DFX_VERSION=${{ env.DFX_VERSION }} sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"
echo "$HOME/.local/share/dfx/bin" >> $GITHUB_PATH
# TODO we should use some Action-specific bot account
- name: Configure git for Publishing Release
- name: Configure git for publishing release
run: |
git config --global user.name 'Jordan Last'
git config --global user.email '[email protected]'
git config --global commit.gpgsign true
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
git config --global user.signingkey C8B77BCBE16CD2B94B43F9C8757397B82D4ED7B0
- name: Publish Release
- name: Publish release
run: ./.github/scripts/publish_github_action.sh $RELEASE_VERSION ${{ toJSON(needs.get-all-test-dirs.outputs.all_tests).*.path }}

0 comments on commit 2a2d8c0

Please sign in to comment.