Skip to content

Commit 4ed31e7

Browse files
author
Thomas G.
committed
feat: ✨ add act reset
1 parent d2401d6 commit 4ed31e7

4 files changed

Lines changed: 15 additions & 7 deletions

File tree

src/act/_act-reset.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
3+
rm ~/.config/act/actrc

src/act/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Nektos Act",
33
"id": "act",
4-
"version": "1.0.9",
4+
"version": "1.2.0",
55
"description": "A tool for running GitHub Actions locally",
66
"installsAfter": [
77
"ghcr.io/devcontainers/features/common-utils",
@@ -17,4 +17,4 @@
1717
"dependsOn": {
1818
"ghcr.io/devcontainers/features/docker-in-docker": {}
1919
}
20-
}
20+
}

src/act/install-act.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
set -e
3+
4+
echo "Activating feature 'nektos/act'"
5+
6+
### Install Act
7+
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/${VERSION}/install.sh | bash -s -- -b /usr/local/bin

src/act/install.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/bin/sh
2-
set -e
32

4-
echo "Activating feature 'nektos/act'"
5-
6-
### Install Act
7-
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/${VERSION}/install.sh | bash -s -- -b /usr/local/bin
3+
### Install this feature
4+
install-feature $0
5+
install-bin $0

0 commit comments

Comments
 (0)