Skip to content

Commit

Permalink
use reusable publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
TanklesXL committed May 6, 2024
1 parent 6fd3505 commit d040fdd
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
release-gh:
runs-on: ubuntu-latest
needs: [test, version]
needs:
- test
- version
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -34,18 +36,5 @@ jobs:
runs-on: ubuntu-latest
needs: [test, version]
steps:
- uses: actions/checkout@v2
- uses: actions/cache/restore@v4
with:
path: ./build/packages
key: deps-${{ hashFiles('manifest.toml') }}
- uses: erlef/setup-beam@v1
with:
otp-version: 26
rebar3-version: 3
gleam-version: "1.1.0"
- name: publish to hex
env:
HEXPM_USER: ${{ secrets.HEXPM_USER }}
HEXPM_PASS: ${{ secrets.HEXPM_PASS }}
run: gleam publish -y
- uses: actions/checkout@v4
- uses: TanklesXL/gleam_actions/actions/hex_publish@main

0 comments on commit d040fdd

Please sign in to comment.