Skip to content

Commit

Permalink
bump GHA versions (#423)
Browse files Browse the repository at this point in the history
* see if intellij is able to update all this shit

* new bleep-setup-action

* test release step

* Revert "test release step"

This reverts commit a5f6e32.

* update softprops/action-gh-release
  • Loading branch information
oyvindberg authored Sep 15, 2024
1 parent 558c7e3 commit 132299c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 19 deletions.
29 changes: 11 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ jobs:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: bleep-build/[email protected]
- uses: bleep-build/[email protected]
- uses: coursier/cache-action@v6
with:
extraFiles: bleep.yaml
Expand All @@ -37,7 +36,7 @@ jobs:
yaml-ls-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: InoUno/yaml-ls-check@develop
with:
root: .
Expand Down Expand Up @@ -67,12 +66,11 @@ jobs:
file_name: bleep.exe
artifact_name: bleep-x86_64-pc-win32
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
repo-token: ${{ secrets.GITHUB_TOKEN }}

- uses: bleep-build/[email protected].1
- uses: bleep-build/[email protected].2

- uses: coursier/cache-action@v6
with:
Expand Down Expand Up @@ -142,7 +140,6 @@ jobs:
- name: Temporarily save package
uses: actions/upload-artifact@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
name: ${{ matrix.artifact_name }}
path: ${{ matrix.file_name }}
retention-days: 1
Expand All @@ -153,18 +150,15 @@ jobs:
needs: [ build, build-native-image, yaml-ls-check ]
if: "startsWith(github.ref, 'refs/tags/v')"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
repo-token: ${{ secrets.GITHUB_TOKEN }}
submodules: true
- id: get_version
uses: battila7/get-version-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
path: artifacts
- name: Display structure of downloaded files
run: find artifacts
Expand All @@ -182,11 +176,10 @@ jobs:
export VERSION=${{ steps.get_version.outputs.version-without-v }}
bash .github/prepare-release.sh
- name: Upload-to-release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
name: "${{ steps.get_version.outputs.version-without-v }}"
prerelease: true
prerelease: false
generate_release_notes: true
files: |
work/release/*
2 changes: 1 addition & 1 deletion bleep-site-in/installing.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ There is an action available to install Bleep. It picks up the wanted Bleep vers
with:
submodules: recursive
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: bleep-build/[email protected].1
- uses: bleep-build/[email protected].2
```
## Nix
Expand Down

0 comments on commit 132299c

Please sign in to comment.