From 8ad075fbbc2d2e830be83309e37cc5c56b96bc73 Mon Sep 17 00:00:00 2001 From: quillcraftsman Date: Tue, 30 Jan 2024 13:54:09 +0300 Subject: [PATCH 1/4] add two test workflows with and without param --- .github/workflows/test_with_param.yml | 14 ++++++++++++++ .github/workflows/test_without_param.yml | 12 ++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/test_with_param.yml create mode 100644 .github/workflows/test_without_param.yml diff --git a/.github/workflows/test_with_param.yml b/.github/workflows/test_with_param.yml new file mode 100644 index 0000000..b1664f4 --- /dev/null +++ b/.github/workflows/test_with_param.yml @@ -0,0 +1,14 @@ +name: Test Action With Param + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Test Action With Param + uses: libresource/action-template@master + with: + param-example: 'Hello GitHub!' diff --git a/.github/workflows/test_without_param.yml b/.github/workflows/test_without_param.yml new file mode 100644 index 0000000..e4dca4e --- /dev/null +++ b/.github/workflows/test_without_param.yml @@ -0,0 +1,12 @@ +name: Test Action Without Param + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Test Action Without Param + uses: libresource/action-template@master From 2cc26936540abf478fd2577a1ad8f8c2b3448660 Mon Sep 17 00:00:00 2001 From: quillcraftsman Date: Tue, 30 Jan 2024 13:57:22 +0300 Subject: [PATCH 2/4] use last version --- .github/workflows/test_with_param.yml | 2 +- .github/workflows/test_without_param.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_with_param.yml b/.github/workflows/test_with_param.yml index b1664f4..7254288 100644 --- a/.github/workflows/test_with_param.yml +++ b/.github/workflows/test_with_param.yml @@ -9,6 +9,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Test Action With Param - uses: libresource/action-template@master + uses: libresource/action-template@v0.2.0 with: param-example: 'Hello GitHub!' diff --git a/.github/workflows/test_without_param.yml b/.github/workflows/test_without_param.yml index e4dca4e..412458d 100644 --- a/.github/workflows/test_without_param.yml +++ b/.github/workflows/test_without_param.yml @@ -9,4 +9,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Test Action Without Param - uses: libresource/action-template@master + uses: libresource/action-template@v0.2.0 From 2a5fde5eb33e9b19dde61fe2c942f415169eee0c Mon Sep 17 00:00:00 2001 From: quillcraftsman Date: Tue, 30 Jan 2024 14:00:42 +0300 Subject: [PATCH 3/4] fix Dockerfile copy --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ffa273c..4db671b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM ubuntu -COPY entrypoint.sh entrypoint.sh +COPY entrypoint.sh /entrypoint.sh -ENTRYPOINT ["entrypoint.sh"] \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file From 308eb25e2f99ffd8c0e184f5074ab41832c0bea7 Mon Sep 17 00:00:00 2001 From: quillcraftsman Date: Tue, 30 Jan 2024 14:07:56 +0300 Subject: [PATCH 4/4] update action version and reamde.md --- .github/workflows/test_with_param.yml | 2 +- .github/workflows/test_without_param.yml | 2 +- README.md | 40 +++++++++++++++++++++--- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_with_param.yml b/.github/workflows/test_with_param.yml index 7254288..59775bf 100644 --- a/.github/workflows/test_with_param.yml +++ b/.github/workflows/test_with_param.yml @@ -9,6 +9,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: Test Action With Param - uses: libresource/action-template@v0.2.0 + uses: libresource/action-template@v0.2.1 with: param-example: 'Hello GitHub!' diff --git a/.github/workflows/test_without_param.yml b/.github/workflows/test_without_param.yml index 412458d..99aa769 100644 --- a/.github/workflows/test_without_param.yml +++ b/.github/workflows/test_without_param.yml @@ -9,4 +9,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Test Action Without Param - uses: libresource/action-template@v0.2.0 + uses: libresource/action-template@v0.2.1 diff --git a/README.md b/README.md index 2d57684..cc30cea 100644 --- a/README.md +++ b/README.md @@ -71,8 +71,40 @@ Just use this repository as GitHub repository template ## Quickstart -- Check [REAMDE.md](profile/README.md) in the profile folder. It's your organization readme -- Delete or change [this](README.md) README.md +```yaml +name: Test Action Without Param + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Test Action Without Param + uses: libresource/action-template@v0.2.1 +``` + +```yaml +name: Test Action With Param + +on: + push: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Test Action With Param + uses: libresource/action-template@v0.2.1 + with: + param-example: 'Hello GitHub!' +``` + +- Change [action.yml](action.yml), [Dockerfile](Dockerfile) and [entrypoint.sh](entrypoint.sh) +- Change [this](README.md) README.md - Check all useful files in the project - Use [CHECKLIST.md](CHECKLIST.md) to check all of you need for good open source project - Enjoy @@ -80,8 +112,8 @@ Just use this repository as GitHub repository template ## Examples GitHub's repositories which use this template -- [Libresource](https://github.com/libresource/.github) -- [FindSimilar](https://github.com/findsimilar/.github) +- [action-template](https://github.com/libresource/action-template) (This repository) +- [fun-adventure-in-turkey](https://github.com/PaxlavaGames/fun-adventure-in-turkey) (Visual Novel on RenPy) ## Contributing