# Using Julia in GitHub Actions

**URL:** <https://discourse.julialang.org/t/using-julia-in-github-actions/27805>\
**Category:** Tooling\
**Tags:** announcement, ci\
**Created:** [August 21, 2019, 3:17pm UTC](https://discourse.julialang.org/t/using-julia-in-github-actions/27805 "2019-08-21T15:17:45Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![ericphanson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ericphanson/32/215186_2.png) [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Post date:** [September 10, 2020, 2:08pm UTC](https://discourse.julialang.org/t/using-julia-in-github-actions/27805/22 "2020-09-10T14:08:45Z")

</div>

@ctkelley Sorry, I’m not sure. The only thing that looks off to me is

> [@ctkelley](#):
>
> `'release-'`

which maybe should be `release-*`? I’m not totally sure though.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [September 11, 2020, 3:42pm UTC](https://discourse.julialang.org/t/using-julia-in-github-actions/27805/23 "2020-09-11T15:42:43Z")

</div>

Just tried `release-*`. Didn’t break anything, but also did not work.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 5, 2020, 5:02pm UTC](https://discourse.julialang.org/t/using-julia-in-github-actions/27805/24 "2020-11-05T17:02:31Z")

</div>

Found this  
[https://github.community/t/github-actions-does-not-respect-skip-ci/17325/8](https://github.community/t/github-actions-does-not-respect-skip-ci/17325/8)  
and used one of the ideas in the middle of the thread. It seems to work

```julia
jobs:
  build:
    runs-on: ${{ matrix.os }}
    if: "!contains(github.event.head_commit.message, 'skip ci')"

```

I’m moving my CI to GitHub Actions today and we’ll see if it works there too. Most of what I read says that it will.

---

<div class="post-metadata">

**Author:** ![ctkelley](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ctkelley/32/10684_2.png) [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Post date:** [November 5, 2020, 11:29pm UTC](https://discourse.julialang.org/t/using-julia-in-github-actions/27805/25 "2020-11-05T23:29:00Z")

</div>

Just switched to GitHub actions for Ci and @ericphanson 's solution suddenly worked! This makes sense in hindisight. So the **skip ci** koan’s been solved. Ooooooom!

> [@ericphanson](#):
>
> ```julia
> paths-ignore:
> - 'LICENSE.md'
> - 'README.md'
> 
> ```

---

<div class="post-metadata">

**Author:** ![SaschaMann](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/saschamann/32/2852_2.png) [@SaschaMann](https://discourse.julialang.org/u/SaschaMann)\
**Post date:** [November 16, 2020, 11:04pm UTC](https://discourse.julialang.org/t/using-julia-in-github-actions/27805/26 "2020-11-16T23:04:40Z")

</div>

A quick heads-up for everyone who pins `julia-actions/setup-julia` to either a specific version or a commit sha: GitHub [removed](https://github.blog/changelog/2020-11-09-github-actions-removing-set-env-and-add-path-commands-on-november-16/) a deprecated and [exploitable](https://nvd.nist.gov/vuln/detail/CVE-2020-15228) way of setting environment variables and adding to the PATH in Actions. All `setup-julia` versions \< 1.3.1 were broken by that. If you’re seeing build failures, you need to update to [a more recent version](https://github.com/julia-actions/setup-julia/releases) of the `setup-julia` action, at least 1.3.1.

If you use a version like `julia-actions/setup-julia@v1` or `julia-actions/setup-julia@latest`, you don’t need to do anything.

As a quick workaround, you can also set a secret `ACTIONS_ALLOW_UNSECURE_COMMANDS` to `true` but for security reasons, this is not recommended.

[Previous page](https://discourse.julialang.org/t/using-julia-in-github-actions/27805.md?page=1)
