Skip to content

Commit

Permalink
update archive urls to https, fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
leafo committed Sep 10, 2019
1 parent 2640909 commit d74925f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,21 @@ Other Lua GitHub actions:
Install Lua: (Will typically default to the latest release, 5.3.5 as of this readme)

```yaml
- uses: leafo/gh-actions-lua@v2
- uses: leafo/gh-actions-lua@v3
```
Install specific version of Lua:
```yaml
- uses: leafo/gh-actions-lua@v2
- uses: leafo/gh-actions-lua@v3
with:
luaVersion: "5.1.5"
```
Install specific version of LuaJIT:
```yaml
- uses: leafo/gh-actions-lua@v2
- uses: leafo/gh-actions-lua@v3
with:
luaVersion: "luajit-2.1.0-beta3"
```
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v2
- uses: leafo/gh-actions-lua@v3
with:
luaVersion: "5.1.5"
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v2
- uses: leafo/gh-actions-lua@v3
with:
luaVersion: ${{ matrix.luaVersion }}
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async function install_luajit(luajitVersion) {
const luaExtractPath = path.join(process.cwd(), INSTALL_PREFIX, `LuaJIT-${luajitVersion}`)
const luaInstallPath = path.join(process.cwd(), LUA_PREFIX)

const luaSourceTar = await tc.downloadTool(`http://luajit.org/download/LuaJIT-${luajitVersion}.tar.gz`)
const luaSourceTar = await tc.downloadTool(`https://luajit.org/download/LuaJIT-${luajitVersion}.tar.gz`)
await io.mkdirP(luaExtractPath)
await tc.extractTar(luaSourceTar, INSTALL_PREFIX)

Expand Down Expand Up @@ -85,7 +85,7 @@ async function main() {
const luaExtractPath = path.join(process.cwd(), INSTALL_PREFIX, `lua-${luaVersion}`)
const luaInstallPath = path.join(process.cwd(), LUA_PREFIX)

const luaSourceTar = await tc.downloadTool(`http://www.lua.org/ftp/lua-${luaVersion}.tar.gz`)
const luaSourceTar = await tc.downloadTool(`https://www.lua.org/ftp/lua-${luaVersion}.tar.gz`)
await io.mkdirP(luaExtractPath)
await tc.extractTar(luaSourceTar, INSTALL_PREFIX)

Expand Down

0 comments on commit d74925f

Please sign in to comment.