Skip to content

Commit

Permalink
Merge pull request #19 from oinume/update-example
Browse files Browse the repository at this point in the history
Update example usage on README
  • Loading branch information
oinume authored Aug 11, 2024
2 parents 2157a3f + 17864d6 commit 85c3157
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Create milestone
- name: "Set due_on"
id: set-due-on
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 }}"
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 @@ -57,13 +57,13 @@ jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
ref: develop

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

- name: "Create a new milestone"
id: create-milestone
Expand Down

0 comments on commit 85c3157

Please sign in to comment.