Skip to content

Commit

Permalink
Merge branch 'release/v1.0.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Jul 4, 2024
2 parents 8a266e4 + a381b2d commit 200d06b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ runs:
uses: actions/cache@v4
with:
path: ~/.mix
key: ${{ runner.arch }}-icepak-1.0.5
key: ${{ runner.arch }}-icepak-1.0.6

- name: Install Pakman
if: steps.cache-icepak.outputs.cache-hit != 'true'
run: |
mix local.rebar --force
mix local.hex --force
mix escript.install hex icepak 1.0.5 --force
mix escript.install hex icepak 1.0.6 --force
shell: alpine.sh {0}
env:
MIX_ENV: prod
4 changes: 2 additions & 2 deletions lib/icepak/checks/setup.ex
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ defmodule Icepak.Checks.Setup do
)

run_attempt = System.get_env("GITHUB_RUN_ATTEMPT") || "0"
increment_wait_time = @increment_wait_time * String.to_integer(run_attempt)
increment_wait_time = @increment_wait_time * (String.to_integer(run_attempt) - 1)

with {:ok, project_name} <- Testing.get_or_create_project(client),
{:ok, %{body: create_operation}} <-
Expand All @@ -136,7 +136,7 @@ defmodule Icepak.Checks.Setup do

wait_time =
if instance_wait_time do
instance_wait_time["duration"]
instance_wait_time["duration"] + increment_wait_time
else
Map.fetch!(@default_wait_time, instance_type) + increment_wait_time
end
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule Icepak.MixProject do
def project do
[
app: :icepak,
version: "1.0.5",
version: "1.0.6",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
Expand Down

0 comments on commit 200d06b

Please sign in to comment.