Skip to content

Commit

Permalink
Merge pull request #20 from oinume/update-example2
Browse files Browse the repository at this point in the history
Update example usage on README (2)
  • Loading branch information
oinume authored Aug 11, 2024
2 parents 85c3157 + d859c73 commit d05627c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ jobs:
- uses: actions/checkout@v4
- name: "Set due_on"
id: set-due-on
run: echo "due_on=$(date --iso-8601=seconds -d '13 days')" >> $GITHUB_ENV
run: echo "DUE_ON=$(date --iso-8601=seconds -d '13 days')" >> $GITHUB_ENV
- name: "Create milestone"
id: create_milestone
uses: oinume/create-scheduled-milestone-action@main
with:
title: "v${{ github.run_id }}"
state: "open"
due_on: "${{ steps.set-due-on.outputs.due_on }}"
due_on: "${{ env.DUE_ON }}"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Check outputs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- name: "Set due_on"
id: set-due-on
run: echo "due_on=$(date --iso-8601=seconds -d '13 days')" >> $GITHUB_ENV
run: echo "DUE_ON=$(date --iso-8601=seconds -d '13 days')" >> $GITHUB_ENV

- name: "Create a new milestone"
id: create-milestone
Expand All @@ -72,7 +72,7 @@ jobs:
title: "1.0.0"
state: "open"
description: "v1.0.0"
due_on: "${{ steps.set-due-on.outputs.due_on }}"
due_on: "${{ env.due_on }}"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

Expand Down

0 comments on commit d05627c

Please sign in to comment.