Skip to content

Commit

Permalink
fix: Use stencil-action, change owner
Browse files Browse the repository at this point in the history
  • Loading branch information
deregtd committed Sep 3, 2024
1 parent da827e3 commit 3ced4bb
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 21 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Stencil
run: | # install the stencil binary
mkdir ${{ runner.temp }}/stencil
cd ${{ runner.temp }}/stencil
wget https://github.com/rgst-io/stencil/releases/download/v0.9.0/stencil_0.9.0_linux_amd64.tar.gz && \
tar -xvf stencil_0.9.0_linux_amd64.tar.gz && \
chmod a+x stencil && \
rm stencil_0.9.0_linux_amd64.tar.gz && \
echo $(pwd) >> $GITHUB_PATH
uses: rgst-io/stencil-action@34abb7be7ca3847f233bd9c38f1da71b30556c35
with:
github-token: ${{ github.token }}
version: 'latest'
binary-dir: ${{ runner.temp }}
## <<Stencil::Block(buildtestauth)>>

## <</Stencil::Block>>
Expand Down
6 changes: 3 additions & 3 deletions stencil.lock
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 0.9.0
version: 0.10.0
modules:
- name: github.com/udemy/eng-team-management
url: https://github.com/udemy/eng-team-management
version:
commit: 0bffe5182b52d2a2423d82d8e2d7edb1d858ded3
tag: v0.1.3
commit: 9689fb725abd5e371fb8ecd25d3a8dab7d8338ce
tag: v0.1.4
- name: github.com/udemy/stencil-templatemodule
url: ./
version:
Expand Down
2 changes: 1 addition & 1 deletion stencil.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: stencil-templatemodule
arguments:
description: Stencil module forming the base for stencil template modules
owner: services
owner: platform
modules:
- name: github.com/udemy/stencil-templatemodule
replacements:
Expand Down
13 changes: 5 additions & 8 deletions templates/.github/workflows/build-release.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@ jobs:
env:
GH_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }}
- name: Install Stencil
run: | # install the stencil binary
mkdir {{ "${{ runner.temp }}/stencil" }}
cd {{ "${{ runner.temp }}/stencil" }}
wget https://github.com/rgst-io/stencil/releases/download/v0.9.0/stencil_0.9.0_linux_amd64.tar.gz && \
tar -xvf stencil_0.9.0_linux_amd64.tar.gz && \
chmod a+x stencil && \
rm stencil_0.9.0_linux_amd64.tar.gz && \
echo $(pwd) >> $GITHUB_PATH
uses: rgst-io/stencil-action@34abb7be7ca3847f233bd9c38f1da71b30556c35
with:
github-token: {{ "${{ github.token }}" }}
version: 'latest'
binary-dir: {{ "${{ runner.temp }}" }}
## <<Stencil::Block(buildtestauth)>>
{{ file.Block "buildtestauth" }}
## <</Stencil::Block>>
Expand Down
2 changes: 1 addition & 1 deletion test/stencil.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: stencil-templatemodule-test
arguments:
description: Test folder for validating changes to stencil-templatemodule
owner: services
owner: platform
## <<Stencil::Block(arguments)>>

## <</Stencil::Block>>
Expand Down

0 comments on commit 3ced4bb

Please sign in to comment.