Skip to content

Commit

Permalink
add version 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
KMicha committed Sep 19, 2024
1 parent 0817754 commit 136fdc1
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/version2024.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# This is a basic workflow to help you get started with Actions

name: versions:2024.0

on:
push:
branches:
- 'main'
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string 1:00 weekly,Saturday,1:00 #m h d/m m d/w
- cron: '53 2 * * 0'

jobs:
versions:
runs-on: ubuntu-latest
container:
image: credocker/creinstall:2024.0
steps:
- uses: actions/checkout@v3
- name: Set ownership
run: |
# this is to fix GIT not liking owner of the checkout dir
chown -R $(id -u):$(id -g) $PWD
- name: cat version.txt
run: (cat /cre/versions.txt)
- name: cp version.txt
# run: (cp /cre/versions.txt cre/versions/versions_2022.txt)
run: (cut -f2,3 /cre/versions.txt > cre/versions/versions_2024.txt)
- name: store install script
run: (/cre/sdkman-store.sh)
- name: store candidates
run: (/cre/sdk.sh list > cre/sdk_candidates.txt)
- name: Submit changes
uses: EndBug/add-and-commit@v9
with:
# pull: '--rebase --autostash ...'
add: 'cre/versions/versions_2024.txt cre/versions/u24.04/sdkman/v*/* cre/sdk_candidates.txt'
tag_push: '--force'

0 comments on commit 136fdc1

Please sign in to comment.