Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
Change-Id: Ib767e5fd3767556347bb9becca39c9059a8fd0d1
  • Loading branch information
mikelalcon committed Feb 7, 2025
1 parent 14f6c28 commit e325733
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Weekly Release

on:
pull_request:
branches: [ "master" ]
schedule:
- cron: '0 11 * * 1' # Run every Monday at 7am NYC time
branches:
Expand All @@ -11,9 +13,11 @@ on:
jobs:
build_and_release:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Bazel
uses: actions/setup-java@v3
Expand All @@ -26,15 +30,17 @@ jobs:

- name: Get current date
id: date
run: echo "::set-output name=date::$(date +%Y%m%d)"
run: |
echo "date=$(date +%Y%m%d)" >> $GITHUB_ENV
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.date.outputs.date }}
release_name: Release v${{ steps.date.outputs.date }}
release_name: Release v${{ env.date }}
body: |
Automated weekly test release snapshot from master branch.
This is a test release, version compatibility or correctness
Expand Down

0 comments on commit e325733

Please sign in to comment.