refactor: update Arch Linux bootstrap URL and switch to zstd compression #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '0 12 1 * *' | |
jobs: | |
make-bootstrap: | |
name: Make Arch bootstrap | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: | | |
bash make-bootstrap.sh | |
- name: Set current date as env variable | |
run: | | |
echo "date=$(/bin/date -u '+%Y-%m-%d')" >> $GITHUB_ENV | |
- name: Upload the release | |
uses: "ncipollo/release-action@v1" | |
with: | |
tag: ${{ env.date }} | |
name: "Arch Linux Bootstrap ${{ env.date }}" | |
artifacts : "ArchWSLBootstrap-*.tar.gz" | |
token: "${{ secrets.GITHUB_TOKEN }}" | |