From 2a2d8c0287381aa74b8ca34564ba305454c5e973 Mon Sep 17 00:00:00 2001 From: Benjamin DeMann Date: Thu, 29 Aug 2024 16:28:44 -0600 Subject: [PATCH] pr fixes --- .github/workflows/build.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db326d6d99..fcef115040 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,4 +1,4 @@ -name: Build +name: Deploy release candidate on: push: branches: @@ -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 }} @@ -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: @@ -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 'jordan.michael.last@gmail.com' 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 }}