Skip to content

Commit

Permalink
Merge pull request #63 from sourcegraph/nsc/workflows-bump
Browse files Browse the repository at this point in the history
chore: bump workflow versions
  • Loading branch information
Strum355 authored Aug 8, 2023
2 parents dc4dcb8 + c25b914 commit d468d07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
cache: 'gradle'
- name: Test
run: ./gradlew test
1 change: 0 additions & 1 deletion .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
repository: 'sourcegraph/pr-auditor'
- uses: actions/setup-go@v4
with: { go-version: '1.20' }

- run: './check-pr.sh'
env:
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Get tag
id: tag
run: echo "::set-output name=version::${GITHUB_REF/refs\/tags\/v/}"
- uses: actions/setup-java@v2
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_OUTPUT
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'adopt'
cache: 'gradle'
- name: Publish ${{ github.ref }}
run: ./gradlew -Pversion=${{ steps.tag.outputs.version }} publish
env:
Expand Down

0 comments on commit d468d07

Please sign in to comment.