Skip to content

Commit ce8dcaa

Browse files
author
Generate.yml
committed
Generated from base-vm
1 parent af74142 commit ce8dcaa

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

.github/workflows/readme.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,13 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
- name: Get latest release
23-
id: get-latest-release
24-
uses: InsonusK/[email protected]
25-
with:
26-
myToken: ${{ github.token }}
27-
view_top: 1
28-
2922
- name: Using main branch
3023
run: |
3124
git switch main || (git fetch --all && git checkout -b main origin/main)
3225
. conf/default.release.conf
3326
echo "DEFAULT_RELEASE=$DEFAULT_RELEASE" >> $GITHUB_ENV
34-
echo "LATEST_MAJOR=$(echo ${{ steps.get-latest-release.outputs.tag_name }} | cut -d . -f 1)" >> $GITHUB_ENV
35-
echo "LATEST_TAG=${{ steps.get-latest-release.outputs.tag_name }}" >> $GITHUB_ENV
27+
echo "LATEST_TAG=$(git tag --sort=-v:refname | head -n 1)" >> $GITHUB_ENV
28+
echo "LATEST_MAJOR=$(echo $(git tag --sort=-v:refname | head -n 1) | cut -d . -f 1)" >> $GITHUB_ENV
3629
echo "ALL_RELEASES=$(ls conf/ | grep -v default | sed 's/.conf//g' | tr '\n' ',' | sed "s/,\$//" | sed 's/,/, /g')" >> $GITHUB_ENV
3730
3831
- name: Update the readme.md

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
- name: Test in OpenBSD
7979
if: ${{ steps.check.outputs.run == 'true' }}
8080
id: test
81-
uses: vmactions/openbsd-vm@17c3d29f597acbe00533f42fffa3e785cb697e70
81+
uses: vmactions/openbsd-vm@0e76c1153a4bb95b7441f4a66806987c8cb75041
8282
with:
8383
envs: 'DEBUG MYTOKEN MYTOKEN2'
8484
prepare: |
@@ -193,7 +193,7 @@ jobs:
193193
- name: Test in OpenBSD
194194
if: ${{ steps.check.outputs.run == 'true' }}
195195
id: test
196-
uses: vmactions/openbsd-vm@17c3d29f597acbe00533f42fffa3e785cb697e70
196+
uses: vmactions/openbsd-vm@0e76c1153a4bb95b7441f4a66806987c8cb75041
197197
with:
198198
envs: 'DEBUG MYTOKEN MYTOKEN2'
199199
prepare: |
@@ -300,7 +300,7 @@ jobs:
300300
- name: Test in OpenBSD
301301
if: ${{ steps.check.outputs.run == 'true' }}
302302
id: test
303-
uses: vmactions/openbsd-vm@17c3d29f597acbe00533f42fffa3e785cb697e70
303+
uses: vmactions/openbsd-vm@0e76c1153a4bb95b7441f4a66806987c8cb75041
304304
with:
305305
envs: 'MYTOKEN MYTOKEN2'
306306
prepare: |

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vmactions-OpenBSD",
3-
"version": "1.1.8",
3+
"version": "",
44
"description": "GitHub actions for OpenBSD",
55
"main": "index.js",
66
"repository": {

0 commit comments

Comments
 (0)