mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-15 06:11:41 +00:00
Remove dead code checking for version tag
It was also vulnerable to template injection attacks.
This commit is contained in:
@@ -31,11 +31,6 @@ jobs:
|
|||||||
arch: x86_x64
|
arch: x86_x64
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Get version from tag
|
|
||||||
shell: bash
|
|
||||||
run: | # Turn "vX.Y.Z" into "X.Y.Z"
|
|
||||||
VERSION="${{ github.ref_name }}"
|
|
||||||
echo "version=${VERSION#v}" >> $GITHUB_ENV
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
@@ -60,11 +55,6 @@ jobs:
|
|||||||
macos:
|
macos:
|
||||||
runs-on: macos-14
|
runs-on: macos-14
|
||||||
steps:
|
steps:
|
||||||
- name: Get version from tag
|
|
||||||
shell: bash
|
|
||||||
run: | # Turn "refs/tags/vX.Y.Z" into "X.Y.Z"
|
|
||||||
VERSION="${{ github.ref_name }}"
|
|
||||||
echo "version=${VERSION#v}" >> $GITHUB_ENV
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
@@ -92,11 +82,6 @@ jobs:
|
|||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-22.04 # Oldest supported, for best glibc compatibility.
|
runs-on: ubuntu-22.04 # Oldest supported, for best glibc compatibility.
|
||||||
steps:
|
steps:
|
||||||
- name: Get version from tag
|
|
||||||
shell: bash
|
|
||||||
run: | # Turn "refs/tags/vX.Y.Z" into "X.Y.Z"
|
|
||||||
VERSION="${{ github.ref_name }}"
|
|
||||||
echo "version=${VERSION#v}" >> $GITHUB_ENV
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
@@ -123,11 +108,6 @@ jobs:
|
|||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Get version from tag
|
|
||||||
shell: bash
|
|
||||||
run: | # Turn "refs/tags/vX.Y.Z" into "X.Y.Z"
|
|
||||||
VERSION="${{ github.ref_name }}"
|
|
||||||
echo "version=${VERSION#v}" >> $GITHUB_ENV
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Package sources
|
- name: Package sources
|
||||||
|
|||||||
Reference in New Issue
Block a user